recentpopularlog in
« earlier   later »
'Breakfast Food' Is a Lie - The Atlantic
In at least one sense, a college student waking after a night out and scarfing down two slices of unrefrigerated pizza rapidly aging in their delivery box is actually just participating in what breakfast has historically meant to billions of people.
breakfast  food  culture  america  history 
june 2019
GitHub - marshmallow-code/flask-marshmallow: Flask + marshmallow for beautiful APIs
Flask + marshmallow for beautiful APIs. Contribute to marshmallow-code/flask-marshmallow development by creating an account on GitHub.
python  flask  rest  api  framework  library 
june 2019
Deciphering Glyph :: Software You Can Use
The worse news is that every day we don’t have this, more and more people are re-writing their user-facing tools and applications in JavaScript or Go or Swift or Java, to suit their target platform, because it is honestly easier to learn an entirely new programming language and toolchain, and rewrite an entire application than to figure out how to build a self-contained executable in Python right now.
python  sorrystateof  desktop  devel  packaging 
june 2019
Certbot
Automatically enable HTTPS on your website with EFF's Certbot, deploying Let's Encrypt certificates.
webdevel  webmaster  tls  certificate  letsencrypt  crypto  alternativeto  selfsignedcertificate 
june 2019
GAMES MADE QUICK??? 2.0 - itch.io
A game jam from 2018-01-07 to 2018-01-15 hosted by eevee. >>> ✨ 🚨 Discord ✨ 🚨 <<< Hey, you. Yeah, you. I see you there. Settling down with your popcorn and snacks. "I won't watch GDQ all week,&q
python  pygame  gaming  devel  programming 
june 2019
GitHub - h2non/nar: node.js application archive - create self-contained binary like executable applications that are ready to ship and run
node.js application archive - create self-contained binary like executable applications that are ready to ship and run - h2non/nar
shroudedscript  shrouding  javascript  nodejs  commandline  packaging 
june 2019
Systems We Love - YouTube
Man pages: https://www.youtube.com/watch?v=TPe6UXMDMGM&t=4186s
The design of the Unix terminal: https://youtu.be/TPe6UXMDMGM?t=20367
An AWK love story: https://www.youtube.com/watch?v=TPe6UXMDMGM&t=28173s
That's the opposite of "blind." Boy, these folks are very, very frightened of the possibility of hearing things they don't like, aren't they. What utter cowards. Normal people with even a modicum of guts can hear things they find unpleasant, they think then say "Yeesh. What a bunch of garbage," and then move on with their lives. Cowards are obsessed with denying others "a platform" because merely hearing the bad thoughts come from another human being causes them to piss their pants.
systems  talk  conference  video  runningthings 
june 2019
Want a New Emoji? Good Luck. - by Andy Warner
How a nearly invisible cabal of tech industry leaders controls what you can and can’t type 🤔
emoji  unicode  language  journalism  cabals  cartoon  webcomic  explained 
june 2019
Abundant Scripting Is Good | UNIX Scripting Tips and Ideas - Kimball Hawkins
I doubt there is any System Administrator out there who doesn't realize that scripting is good, but I've found there are few who actually use scripting as I feel it should be used -- as a way to programatically improve, simplify and automate many of the complex and tedious tasks of system monitoring and maintenance.…

My first rule is, if I have to do any task more than once, I’ll script it. This applies especially if errors in the command can have serious consequences.

My second rule is, if I’m going to script it, I’m going to make it robust enough to be useful in all applicable situations.

My third rule is I never hard-code specific information in a script if I can help it.

Fourth is: If a script can figure something out, don’t require the user to enter it, or choose it or find it.

Fifth is: Document it!
sysadmin  shellscripting  unix  linux  bash 
june 2019
Arrow: better dates and times for Python — arrow 0.14.0 documentation
Arrow: better dates and times for Python. Arrow is a Python library that provides a sensible, intelligent way of creating, manipulating, formatting and converting dates and times.
python  timeanddate  library  alternativeto  datetime 
june 2019
Deciphering Glyph :: Tips And Tricks for Shipping a PyGame App on the Mac
Luckily the OS ships with the macOS-specific “scriptable image processing system”, which can helpfully convert an icon for you. Make yourself a 512x512 PNG file in your favorite image editor (with an alpha channel!) that you want to use as your icon, then run it something like this:
<code class="language-bash">$ sips -s format icns Icon.png --out Icon.icns</code>
somewhere in your build process, to produce an icon in the appropriate format.
mac  python  pygame  packaging  woes  imageprocessing  icons  tipsandtricks 
june 2019
yest download | SourceForge.net
Needs to be modified to support 'now', or 'today' as starting time/dates.
Download yest for free. This is a command line date/time manipulation and formatting program, very useful in scripts. You can easily add or subtract days, hours and/or minutes from a specified date.
timeanddate  unix  c  shellscripting  commandline  essential  movein  needshelp 
june 2019
GitHub - alex/csv-sql: Query your CSV files with SQL
Query your CSV files with SQL. Contribute to alex/csv-sql development by creating an account on GitHub.
csv  sql  datamining  commandline  rust  textprocessing 
june 2019
GitHub - btford/write-good: Naive linter for English prose
Naive linter for English prose. Contribute to btford/write-good development by creating an account on GitHub.
english  language  grammar  writing  linter  stylechecker  nodejs  npm 
june 2019
GitHub - alex/what-happens-when: An attempt to answer the age old interview question "What happens when you type google.com into your browser and press enter?"
An attempt to answer the age old interview question "What happens when you type google.com into your browser and press enter?" - alex/what-happens-when
interviewquestions  tech  explained 
june 2019
Automat · PyPI
Self-service finite-state machines for the programmer on the go.
python  library  statemachine 
june 2019
The End Of Object Inheritance & The Beginning Of A New Modularity - YouTube
1. use types for nouns
2. express code relationships structurally
3. most programming is parametric ("partial") programming

Advice:
* make illegal states unrepresentable (Yaron Minsky)
* ==> make illegal behavioral interactions impossible
devel  design  programming  oop  inheritance  composition  video  python  modularity 
june 2019
GitHub - python/black: The uncompromising Python code formatter
The uncompromising Python code formatter. Contribute to python/black development by creating an account on GitHub.
python  formatter  linter  codestyle  opinionated  alternativeto  pycodestyle 
june 2019
GitHub - PyCQA/flake8-bugbear: A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle. - PyCQA/flake8-bugbear
python  flake8  codestyle  formatter  linter 
june 2019
arrays - Perl: if ( element in list ) - Stack Overflow
Here is an example which works with any searched (scalar) value, including undef:
<code class="language-perl">use List::MoreUtils qw(any);

my $value = 'test'; # or any other scalar
my @array = (1, 2, undef, 'test', 5, 6);

no warnings 'uninitialized';

if ( any { $_ eq $value } @array ) {
print "$value present\n"
}</code>
perl  listmembership  lists  syntax  newbie  dammitbrain  likepython  solution 
june 2019
Search for visually selected text | Vim Tips Wiki | FANDOM powered by Wikia
Create file (for example) ~/.vim/plugin/vsearch.vim (Unix) or $HOME/vimfiles/plugin/vsearch.vim (Windows) with contents:

<code class="language-viml">" Search for selected text.
" http://vim.wikia.com/wiki/VimTip171
let s:save_cpo = &cpo | set cpo&vim
if !exists('g:VeryLiteral')
let g:VeryLiteral = 0
endif
function! s:VSetSearch(cmd)
let old_reg = getreg('"')
let old_regtype = getregtype('"')
normal! gvy
if @@ =~? '^[0-9a-z,_]*$' || @@ =~? '^[0-9a-z ,_]*$' && g:VeryLiteral
let @/ = @@
else
let pat = escape(@@, a:cmd.'\')
if g:VeryLiteral
let pat = substitute(pat, '\n', '\\n', 'g')
else
let pat = substitute(pat, '^\_s\+', '\\s\\+', '')
let pat = substitute(pat, '\_s\+$', '\\s\\*', '')
let pat = substitute(pat, '\_s\+', '\\_s\\+', 'g')
endif
let @/ = '\V'.pat
endif
normal! gV
call setreg('"', old_reg, old_regtype)
endfunction
vnoremap <silent> * :<C-U>call <SID>VSetSearch('/')<CR>/<C-R>/<CR>
vnoremap <silent> # :<C-U>call <SID>VSetSearch('?')<CR>?<C-R>/<CR>
vmap <kMultiply> *
nmap <silent> <Plug>VLToggle :let g:VeryLiteral = !g:VeryLiteral
\\| echo "VeryLiteral " . (g:VeryLiteral ? "On" : "Off")<CR>
if !hasmapto("<Plug>VLToggle")
nmap <unique> <Leader>vl <Plug>VLToggle
endif
let &cpo = s:save_cpo | unlet s:save_cpo</code>
vim  searching  searchandreplace  tipsandtricks  essential  movein  vimscript 
june 2019
Optional Features - NeoMutt
Try
set imap_authenticators="login"

when working with DavMail
davmail  mutt  imap  mua  email  configsettings  solution 
may 2019
log4j Logging Levels
log4j Logging Levels - Learn how log4j framework works starting from environment setup, logging levels, methods, formatting, methods, file logging and database logging.
java  logging  davmail  solution 
may 2019
r - Does packrat work on shiny server? - Stack Overflow
The answer is "yes"; 'packrat::init(".")' will install all the libraries necessary for your project AND append to your .gitignore
r  shiny  shinyserver  packrat  dependencymanagement  packagemangement  solution 
may 2019
Using R with git and packrat - Stack Overflow
packrat::init(".") actually appends to your .gitignore nowadays.
r  dependencymanagement  packagemangement  packrat  git  gitignore  solution 
may 2019
bletchley punk (@alicegoldfuss) | Twitter
The latest Tweets from bletchley punk (@alicegoldfuss). MOV $0x6d656d6573, 0x7477656574. infra @github. opinions/selfies my own. she/her. 🗝🧙‍♀️✨🍵 ctf stream https://t.co/jY5KbCTAZ0. /usr/local/sin
infosec  hacking 
may 2019
Firefox expands anti-tracking features with browser fingerprint blocking - The Verge
Firefox is testing a new anti-tracking feature that will prevent sites from being able to "fingerprint" your browser and track you. The browser will also now explicitly block cryptocurrency mining scripts.
browser  privacy  firefox  browserfingerprinting 
may 2019
GitHub - ryanbr/fanboy-adblock
Contribute to ryanbr/fanboy-adblock development by creating an account on GitHub.
adblock  blacklist 
may 2019
Bash scripting cheatsheet
Has links to the Bash Hackers wiki, which are helpful.

Has a really good reference for array / associative array syntax, too!
bash  shellscripting  cli  unix  linux  cheatsheet  fuckina 
may 2019
ndmitchell/tagsoup: Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents
Haskell library for parsing and extracting information from (possibly malformed) HTML/XML documents - ndmitchell/tagsoup
haskell  html  parser  tagsoup  malformedhtml  library  webdevel 
may 2019
xml - Using xmllint and xpath with a less-than-perfect HTML document? - Stack Overflow
'xidel' (http://www.skynet.be) seems to handle malformed HTML better than 'xmllint --html' or 'xmlstarlet' even after passing through 'tidy'.
xml  xpath  webscraping  malformedhtml  maybesolution 
may 2019
benibela/xidel: A command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern templates. It can also create new or transformed XML/HTML/JSON documents.
This tool seems to be able to deal with malformed HTML that 'xmllint' and 'xmlstarlet' choke on (even after a pass through 'tidy').
A command line tool to download and extract data from HTML/XML pages or JSON-APIs, using CSS, XPath 3.0, XQuery 3.0, JSONiq or pattern templates. It can also create new or transformed XML/HTML/JSON documents. - benibela/xidel
xml  html  webscraping  webdevel  api  testing  alternativeto  xmllint  xmlstarlet 
may 2019
kayex/http-codes - Packagist
Small PHP library for easily accessing HTTP Status Codes.
php  library  http  statuscode  webdevel 
may 2019
GitHub - krowinski/http-status-codes: PHP List of HTTP status codes, messages and description for them.
PHP List of HTTP status codes, messages and description for them. - krowinski/http-status-codes
php  http  webdevel  statuscodes  library 
may 2019
« earlier      later »
per page:    204080120160

Copy this bookmark:





to read