start new:
tmux
start new with session name:
tmux new -s myname
| #!/bin/bash | |
| function remove_dir () { | |
| rm -rf "$1_" | |
| if [ -d "$1" ] | |
| then | |
| mv "$1" "$1_" | |
| fi | |
| } |
| #!/usr/bin/env bash | |
| echo $1 | grep -E -q "^[0-9]+$" || (echo "Please specify a port number to listen to." ; exit 1) | |
| PORT=$1 | |
| TCPDUMPARG="tcp port $PORT and (((ip[2:2] - ((ip[0]&0xf)<<2)) - ((tcp[12]&0xf0)>>2)) != 0)" | |
| sudo tcpdump -s 0 -A -i lo0 $TCPDUMPARG |
| tell application "Notes" | |
| set theNotes to every note of the folder "Notes" | |
| repeat with thisNote in theNotes | |
| set myTitle to the name of thisNote | |
| set myText to the body of thisNote | |
| set myCreateDate to the creation date of thisNote | |
| set myUpdateDate to the modification date of thisNote | |
| tell application "Evernote" | |
| set theTransferredNote to create note with html myText ¬ | |
| title myTitle ¬ |
| Programming career distilled. | |
| - holy shit programming in language X isn't that hard. | |
| - okay, I have a hammer, everything is a nail. | |
| - holy shit there are other tools that make working even faster. | |
| - I can solve this problem using 3 different tools I know well. | |
| - I'm bored by learning other tools, I solve everything using my favorite tool. | |
| - become a manager. |
| eXtreme Go Horse (XGH) Process | |
| Quelle: http://gohorseprocess.wordpress.com | |
| Übersetzung ursprünglich von https://gist.github.com/Neffez/f8d907ba8289f14e23f3855011fa4e2f | |
| 1. Ich denke, also ist es nicht XGH. | |
| In XGH wird nicht gedacht, es wird das erste gemacht, was in den Sinn kommt. Es gibt auch keine zweite Option, die erste ist schneller. | |
| 2. Es gibt 3 Wege ein Problem zu lösen: den richtigen Weg, den falschen Weg und den XGH Weg, welcher exakt wie der falsche ist, aber schneller. |
| // Using the Jenkins Groovy Post build plugin to execute the following after every build | |
| // https://wiki.jenkins-ci.org/display/JENKINS/Groovy+Postbuild+Plugin | |
| // It would be nice not to have to specify these here... the repo name should be available within the hudson | |
| // api somehow, but I didn't know how to get it. The access token should maybe be saved in a config file, and | |
| // read in at runtime? | |
| GITHUB_REPO_NAME = 'myusername/myreponame' | |
| GITHUB_ACCESS_TOKEN = 'my_github_api_v3_access_token' |
| import time | |
| def highlight(element): | |
| """Highlights (blinks) a Selenium Webdriver element""" | |
| driver = element._parent | |
| def apply_style(s): | |
| driver.execute_script("arguments[0].setAttribute('style', arguments[1]);", | |
| element, s) | |
| original_style = element.get_attribute('style') | |
| apply_style("background: yellow; border: 2px solid red;") |
The list would not be updated for now. Don't write comments.
The count of contributions (summary of Pull Requests, opened issues and commits) to public repos at GitHub.com from Wed, 21 Sep 2022 till Thu, 21 Sep 2023.
Because of GitHub search limitations, only 1000 first users according to amount of followers are included. If you are not in the list you don't have enough followers. See raw data and source code. Algorithm in pseudocode:
githubUsers