|
Like many developers, I keep track of my configuration files in version control, to make moving to new machines is simpler and share code with others. This process started out for my Emacs config files at first, but grew to consume other aspects: bash functions, git aliases… Since 2016, I have accumulated over 500 git commits . Now the dotfiles are tracked, the next biggest pain is to install packages and folder structures and obscure ..
|
|
Like many developers, I keep track of my configuration files in version control, to make moving to new machines is simpler and share code with others. This process started out for my Emacs config files at first, but grew to consume other aspects: bash functions, git aliases… Since 2016, I have accumulated over 500 git commits . Now the dotfiles are tracked, the next biggest pain is to install packages and folder structures and obscure ..
|
Swag alert! The DEF CON store has a ton of new #DEFCONisCanceled goodies for your delectation. The much requested mask is here, along with hats, pins and stickers. Thanks to everyone for your support while we construct #defconsafemode - stay tuned for even more new swag items in the coming days! Stay safe, and stay in touch.
|
|
The top 3 reasons to join the AWS, CircleCI, and Snyk webinar on the DevSecOps journey
-
snyk.io
-
6 years ago
-
eng
On Tuesday, June 16 from 10-11 am PT, three hands-on experts from AWS, CircleCI, and Snyk will host “The DevSecOps Journey Webinar” to demo how CircleCI and Snyk seamlessly port with you as you increasingly develop in the cloud.
|
|
Implementing dynamic super calls in Swift through runtime manipulation, assembly language, and ARM64 register management for InterposeKit.
|
|
A brief introduction to Go for programmers who haven't used Go before: Why use it? The standard library. And the language itself.
|
|
Fixing the Docker Permission Denied While Trying to Connect to the Docker Daemon Socket Error
-
fuzzyblog.io
-
6 years ago
-
eng
I recently had the situation where even the simplest docker command: docker run -it bash gave this error: docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. The solution for this is actually pretty simple: Add your ....
|
|
Open-source plugin for QGIS that loads fast vector maps. Change colors and fonts of the map to get unique look.
|
|
Alan Turing was a highly gifted English mathematician. He was also a code breaker, machine builder, computer science pioneer and logician. The notion of algorithm comes from his paper describing his concept called the Turing machine. The fields of computer science and artificial intelligence owe much to his ideas.
|
|
Fixing the Docker Permission Denied While Trying to Connect to the Docker Daemon Socket Error
-
fuzzyblog.io
-
6 years ago
-
eng
I recently had the situation where even the simplest docker command: docker run -it bash gave this error: docker: Got permission denied while trying to connect to the Docker daemon socket at unix:///var/run/docker.sock: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.40/containers/create: dial unix /var/run/docker.sock: connect: permission denied. See 'docker run --help'. The solution for this is actually pretty simple: Add your ....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
I was reading the posts over on lobste.rs and saw this post: Is sudo almost useless? . Typically I see sudo as a safety belt to protect you from doing something stupid with administrator privileges rather than a security shield. But that doesn't mean it can't be both As with ssh, outlined in my previous post TOTP with SSH (Google Auth) , you can certainly boost your sudo usefulness security wise by throwing 2FA via google-authenticator....
|
|
This post digs into the options of the git rebase interactive command and that you can use to “rewrite your history.”
|
|
I cover the core game loop, why a fixed timestep is required and how it's implemented, topped off with a glorious comparison gif.
|
|
I cover the core game loop, why a fixed timestep is required and how it's implemented, topped off with a glorious comparison gif.
|
|
Cory Doctorow, in Inaction is a Form of Action : “Itâs tempting to simply laugh off these ‘free market’ fetishists as they get their comeuppance when Alex Jones and the Daily Stormer get kicked off the internet, but that is to miss the wider point: we are now in a speech environment where power is so concentrated that the whims of a half-dozen tech execs determine — for all intents and purposes — who may speak and what they may say....
|
|
Why does Thoughtworks assess candidates' pair programming skills? At Thoughtworks, we strongly believe in pairing not just for programming, but also for most of our everyday activities. In fact, this very post is a result of pairing! Pairing naturally promotes communication, thought alignment, and knowledge sharing while seamlessly replacing any sense of competition with a sense of collaboration. For our clients that translates into higher..
|
Automated bots creating fake accounts are a persistent problem targeting any user self-registration systems and django-allauth is no exception. The most common approach to discourage these bots is to incorporate a captcha on your signup page that adds a layer of validation, with Google's ReCaptcha being the industry-standard implementation. Integrating recaptcha into django-allauth can be tricky so in this post I'll cover the steps to add a..
|
|
Tables make it hard to give hierarchy to data. To underline the importance of certain values in a table you can use chips that highlight the values with colors.
|
|
One of the better lessons that you learn as a programmer is that you never want to work too large, in short, that laziness can be a virtue. I'm speaking, of course, of doing things manually that you can automate. I recently wanted to download a set of images from github that represented anonymous animals. Here's the repo: [https://github.com/wayou/anonymous-animals/tree/master/icons](https://github.com/wayou/anonymous-animals/tree/mas....
|
|
Series Index Python and Go: Part I - gRPC Python and Go: Part II - Extending Python With Go Python and Go: Part III - Packaging Python Code Python and Go: Part IV - Using Python in Memory Introduction Like tools, programming languages tend to solve problems they are designed to. You can use a knife to tighten a screw, but it’s better to use a screwdriver. Plus there is less chance of you getting hurt in the process.
|
|
The six-colour rainbow flag will probably be the flag waved the most around the world during pride. But did you know that it wasn’t the original design? And that new flags are popping up all over the world? Members of the LGBTQIA+ community use all kinds of colours in all kinds of flags to create a variety of queer symbols.A look back at the Pride Flag
|
|
One of the better lessons that you learn as a programmer is that you never want to work too large, in short, that laziness can be a virtue. I'm speaking, of course, of doing things manually that you can automate. I recently wanted to download a set of images from github that represented anonymous animals. Here's the repo: [https://github.com/wayou/anonymous-animals/tree/master/icons](https://github.com/wayou/anonymous-animals/tree/mas....
|
|
I recently learned about the concept of a “shadow” that Carl Jung defined. According to it, each of us has a psychological shadow - the part of us that we suppress unconsciously. It’s usually a darker side which society makes us hide, such as a side of violence, but it doesn’t have to be negative. It can be different sexuality, or creativity. It is there, even if we aren’t aware if. For me personally, on the surface level I’ve struggled w....
|
|
Fehrist – Document Indexing Library in Go Fehrist is a document indexing library written in Golang which is used to index different kind of text documents
-
blog.adnansiddiqi.me
-
6 years ago
-
eng
TLDR: Visit Github repo if you are not interested in the internals of the lib. Today I present you another library I made in Go language, called, Fehrist From the Github README: Fehrist is a pure Go library for indexing different types of documents. Currently, it supports only CSV and JSON but flexible architecture gives you the liberty to add more documents. Fehrist(فہرست) is an Urdu word for Index. Similar terminologies used in Arabic(فھر....
|
|
Curl has support for sftp and scp, among many other protocols. In one of our php-applications we use libcurl to transfer files via sftp to a remote datacenter. We recently migrated this application into a docker-container. With it we transferred the private key into the container, so the application can connect to the datacenter. However the job that periodically transfers these files wasn’t working anymore when run inside the containe....
|
|
How to evenly distribute points on a sphere more effectively than the canonical Fibonacci Lattice
-
extremelearning.com.au
-
6 years ago
-
eng
Mapping the Fibonacci lattice (aka Golden Spiral, aka Fibonacci Sphere) onto the surface of a sphere is an extremely fast and effective approximate method to evenly distribute points on a sphere. I show how small modifications to the canonical implementation can result in notable improvements for nearest-neighbor measures. tl;dr: Get a summary of this post … Continue reading "How to evenly distribute points on a sphere more effectively ..
|