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 
3 days ago
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 
5 weeks ago
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 
5 weeks ago
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 
8 weeks ago
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 
11 weeks ago
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 
11 weeks ago
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 
12 weeks ago
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 
12 weeks ago
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
Be careful what you copy: Invisibly inserting usernames into text with Zero-Width Characters
Zero-width characters are invisible, ‘non-printing’ characters that are not displayed by the majority of applications. F​or exam​ple, I’ve ins​erted 10 ze​ro-width spa​ces in​to thi​s sentence, c​an…
security  steganography  article  cryptography  programming 
april 2018
Parallel tasks in Python: concurrent.futures
executor.submit() returns a Future object. A Future is basically an object that encapsulates an asynchronous execution of a function that will finish (or raise an exception) in the future.
python  concurrency  concurrent  futures  programming  multiprocessing  threading  library 
april 2018
Profiling & tracing with perf
Want to get better at profiling & tracing your programs on Linux? `perf` is a super useful tool, but it's fairly complicated and I found it hard to get started with. Over the last 4 years, I've learned a lot about how perf works, and I've compressed what I know into this zine for you! You'll learn how you can use perf to profile programs in many different programming languages (C, node.js, Java, Rust, and more!), how to count any kernel event you're interested in (syscalls! network packets sent!), how to analyze the data that perf gives you, and more! What's included: a 24-page PDF that you can either read online or print out, staple, and read on your commute or give to friends!
Linux  programming  testing  profiling  perf  performance 
april 2018
melting potatoes
A few weeks ago — although, you can imagine, it feels like it’s been much, much longer* — I learned bout something called melting potatoes and had to make them immediately. This i…
recipe  Potato  potatoes  cooking  butter  dinner  food  recipes 
april 2018
IBM Plex
IBM Plex™ is our new typeface. It’s global, it’s versatile, and it’s distinctly IBM.
font  fonts  Fonts_&_Text  opensource  ibm  typography  type  typeface  typefaces 
march 2018
Documenting Components – EightShapes – Medium
#1 of 6 of the series Documenting Components:
Overview | Intros | Examples | Design | Code | Authoring High-quality component documentation is a hallmark of an effective library. We describe each UI…
Documentation  Design  library  styleguide  Tutorial  designsystem  designsystems  components 
march 2018
Applied Category Theory – Online Course
It just became a lot easier to learn about applied category theory, thanks to this free book: • Brendan Fong and David Spivak, Seven Sketches in Compositionality: An Invitation to Applied Cate…
category  categorytheory  theory  programming  task  organization  math  mathematics 
march 2018
An Introduction to Altair
Join me in exploring Altair - a great python package for data vis
python  altair  tutorials  visualization  vega  chart  charts  plotting  graphs 
march 2018
secrethistoryofmacgaming
The website for the book by award-winning writer and journalist Richard Moss about the creative...
march 2018
I am a mediocre developer
I personally know some developers who are very talented and can create wonderfu...
programming  coding  development  bestpractice  bestpractices  career  learning 
march 2018
The SaaS CTO Security Checklist | Sqreen
Learn how to protect your SaaS applications with the SaaS CTO security checklist. Select your startup stage and use these rules to improve your security.
security  programming  saas  software  Checklist  CYBERSECURITY 
march 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 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 history how how_to howto html html5 humor image imageprocessing images inspiration 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: