GitHub - jaraco/keyring
Python:
>>> import keyring
>>> keyring.set_password("system", "username", "password")
>>> keyring.get_password("system", "username")
'password'

Bash:
$ keyring --help
$ keyring set system username
Password for 'username' in 'system':
$ keyring get system username
password
python  security  libraries  library  packages 
6 weeks ago
When others use the Marquardt Beauty Mask - Marquardt Beauty Analysis
Many have written about the Marquardt Beauty Mask, applied it and tried to evaluate its validity. Unfortunately, we find that many who do so do not really understand the mask or how to use it. As one example, a lot of good effort went into creating an online version of the mask at the Interactive …
beauty  Faces  mask 
8 weeks ago
Turn Raspberry Pi Zero in USB Keyboard
In this project you'll learn how to turn a Raspberry Pi Zero board into a keyboard or HID. Then, you'll write a Python script to make your Pi act as a keyboard.
Scripting  programming  Linux  keyboard  howto  hid  usb  raspberrypi 
11 weeks ago
Alien Brain Hemorrhage - Tipsy Bartender
ALIEN BRAIN HEMORRHAGE
1 oz. (30ml) Peach Schnapps
1/2 oz. (15ml) Irish Cream
Splash Blue Curaçao
Drops Grenadine PREPARATION
1. Pour peach schnapps into shot glass before layering irish cream on top.
2. Drizzle in grenadine before adding a splash of blue curaçao.
DRINK RESPONSIBLY!
alcohol  cocktails  recipes  recipe  halloween 
12 weeks ago
Python and Qt simplified. Create a Python GUI in minutes.
fbs lets you release Python GUIs with Qt in minutes instead of months.
python  app  application  qt  GUI 
october 2018
Plans for simple DIY electric mini trike.
Home built DIY electric karts for kids and adults for fun and leisure use. Plans for electric motor driven mini trike.
diy  gokarts  electronics  robotics 
october 2018
ntlm - Python Requests: follow a link - Stack Overflow
import requests
from requests_ntlm import HttpNtlmAuth

username = 'myUser'
password = 'myPswd'
url = 'https://NTLMwebsite/base.com'
nextPage = 'https://NTLMwebsite/base/next.com'

s = requests.Session()

s.auth = HttpNtlmAuth(username, password)

r1 = s.get(url)
python  session  authentication  requests  programming  Scripting 
september 2018
Python requests deep dive – Anthony Shaw – Medium
import requests
import json

with requests.Session() as sess:
my_data = {
'server': '1234'
}
sess.headers['Authorization'] = 'Bearer dfg90823jrofiowfi4-0r'
response = sess.post('https://my-api.service.com/v1/servers', json=my_data)
data = sess.get('https://my-api.service.com/v1/servers/1234').json()
python  requests  json  session  Scripting  programming 
september 2018
HTML Parser: How to scrap HTML content | Python Central
from html.parser import HTMLParser
import urllib.request as urllib2

class MyHTMLParser(HTMLParser):

   #Initializing lists
lsStartTags = list()
   lsEndTags = list()
   lsStartEndTags = list()
   lsComments = list()

   #HTML Parser Methods
   def handle_starttag(self, startTag, attrs):
       self.lsStartTags.append(startTag)

   def handle_endtag(self, endTag):
       self.lsEndTags.append(endTag)

   def handle_startendtag(self,startendTag, attrs):
       self.lsStartEndTags.append(startendTag)

  def handle_comment(self,data):
       self.lsComments.append(data)

#creating an object of the overridden class
parser = MyHTMLParser()

#Opening NYTimes site using urllib2
html_page = html_page = urllib2.urlopen("https://www.nytimes.com/")

#Feeding the content
parser.feed(str(html_page.read()))

#printing the extracted values
print(“Start tags”, parser.lsStartTags)
#print(“End tags”, parser.lsEndTags)
#print(“Start End tags”, parser.lsStartEndTags)
#print(“Comments”, parser.lsComments)
scraping  python  html  url  how  howto  How_to 
august 2018
python - Loop through all nested dictionary values? - Stack Overflow
from collections import abc
def nested_dict_iter(nested):
for key, value in nested.items():
if isinstance(value, abc.Mapping):
yield from nested_dict_iter(value)
else:
yield key, value
python  Scripting  dictionary  recursion  key  value 
july 2018
javascript - How To Get Font Size in HTML - Stack Overflow
var computedFontSize = window.getComputedStyle(document.getElementById("foo")).fontSize;

console.log(computedFontSize);
javascript  testing  web  css  font  fonts 
july 2018
ox-it/requests-negotiate: GSSAPI auth support for Python's requests library
import requests
import requests_negotiate

auth = requests_negotiate.HTTPNegotiateAuth()
response = requests.get('https://example.org/', auth=auth)
python  api  authentication  Scripting  testing  howto  how  How_to 
july 2018
How can i get default font size in pixels by using JavaScript or JQuery? - Stack Overflow
function getDefaultFontSize(pa){
pa= pa || document.body;
var who= document.createElement('div');

who.style.cssText='display:inline-block; padding:0; line-height:1; position:absolute; visibility:hidden; font-size:1em';

who.appendChild(document.createTextNode('M'));
pa.appendChild(who);
var fs= [who.offsetWidth, who.offsetHeight];
pa.removeChild(who);
return fs;
}
alert(getDefaultFontSize())
javascript  testing  web  webapp  webdesign 
july 2018
droberson (Daniel Roberson)
This dude has some interesting hacking tools.
github  git  hacks  Social  Scripting  programming 
june 2018
Cartesian Product in JavaScript · Edd Mann
Simple, functional manner in which to find the Cartesian product using JavaScript ES2015
javascript  howto  How_to  how  programming  Scripting 
june 2018
For Kids Archives | Gimme the Good Stuff
If you’re worried about your kids’ exposure to toxic chemicals, we’ve got you covered. Offering everything from natural skincare products or organic clothing, we hope that our selection of nontoxic items will bring you peace of mind and save you hours of time on Google!
Baby  Store  product 
may 2018
Home :: Job Hound
Job Hound is a set of tools to help make applying for tech jobs suck less.
jobs  tools  career  jobsearch  job_search  saas  hiring  job  jobhunt  webapp 
may 2018
Hackers find an 'unpatchable' way to breach the Nintendo Switch
Security researchers have found an "unpatchable" Nintendo Switch vulnerability.
HaX0r  hacks  nintendo  switch  Linux 
april 2018
Weekly Command: processing JSON with jq
An example-driven overview of the jq command using NASA NeoWs API - by Roberto Dip
json  datascience  productivity  shell  tutorial  howto  How_to  how  commandline 
april 2018
Cognitive bias cheat sheet – Better Humans
I’ve spent many years referencing Wikipedia’s list of cognitive biases whenever I have a hunch that a certain type of thinking is an official bias but I can’t recall the name or details. It’s been an…
psychology  bias  reference  thinking  cognitive  cognitivebias  cheatsheet 
april 2018
Interactive Go programming with Jupyter – Yu Watanabe – Medium
For the past few years, the programming language Go (golang) is growing in popularity. I was a big fan of Python and I primarily used Python in my hobby projects three years ago. Now, I use Go…
go  Jupyter  golang  article  JupyterNotebook  programming  docker 
april 2018
Learn to Code for Free – Grasshopper
Grasshopper is the coding app for beginners. With fun, quick lessons on your phone, the app teaches adult learners to write real JavaScript.
education  programming  app  coding  android  javascript  ios  development  google  free 
april 2018
IDEA – nonverbal algorithm assembly instructions
IDEA is a series of nonverbal algorithm assembly instructions, created by Sándor P. Fekete, Sebastian Morr, and Sebastian Stiller.
Algorithms  visualization  learning  datastructures  ikea  programming 
april 2018
How to Pick a Career (That Actually Fits You) - Wait But Why
Our career path is how we spend our time, how we support our lifestyles, how we make our impact, and even sometimes how we define our identity. Let’s make sure we’re on the right track.
career  work  advice  business  life  howto 
april 2018
Productivity
I think I am at least somewhat more productive than average, and people sometimes ask me for productivity tips.  So I decided to just write them all down in one place.

Compound growth gets...
productivity  life  lifehacks  lifestyle  personaldevelopment  blog  article 
april 2018
ViperCard
ViperCard is an open source re-creation and re-imagination of 1987's HyperCard. You can use it to make animations, games, and interactive art!
hypercard  Javascript  browser  mac  js  macintosh  hypertext  retro 
april 2018
OpenGL bindings for Bash
A project that started as a joke can be useful to people wanting to learn the concepts of OpenGL.
3d  opensource  OpenGL  bash  commandline  programming 
april 2018
« earlier      
3d advice animation anime api app apple applescript application apps arduino art article audio automation baby bash bestpractices blog books browser business c++ camera cameras career cg chart charts cheatsheet chrome cli cloud code coding coffeescript collaboration color colors comic commandline commands compositing compression computer computing concurrency console conversion css csv data database datascience debug deeplearning deployment design dev development dictionary digital disk diy docker documentation download drawing drink drinks editor education electronics email employment emulator emulators fashion ffmpeg file film filmmaking finance font fonts food food_&_drink framework free fun_stuff functional funny funny_stuff gallery game games gaming generator gimp git github gnome go google gpu graphicdesign graphics graphs gui guide hacks halloween hardware hid history how how_to howto html html5 humor image imageprocessing images inspiration install interface interview ios javascript job jobs jobsearch js json kernel keyboard kids language learning lego library linux list mac macosx mail management markdown math mathematics maya media memory motors movies music network nintendo nodejs nuke nvidia objective-c opensource os osx packages parallel pdf performance photo photography photography_tutorials photos photoshop pictures planning plugins png politics portfolio presentation print processing productivity programming programming_&_scripting project projects psychology pytest python raspberrypi raw recipe recipes reference regex render rendering renderman renderpasses rest restaurants retro reviews robotics scraping script scripting security selenium server services shader shading shell shopping sleep social software sql sqlite ssh store task tech technology teh_sexy terminal test testing text thanksgiving time tips tool tools toys troubleshooting tutorial tutorials type typography ubuntu ui unix usb utilities vfx video videos vim virtualization visualization vnc web web_development webapp webdesign wedding windows writing x xorg youtube

Copy this bookmark:



description:


tags: