start new:
tmux
start new with session name:
tmux new -s myname
| var mediaJSON = { "categories" : [ { "name" : "Movies", | |
| "videos" : [ | |
| { "description" : "Big Buck Bunny tells the story of a giant rabbit with a heart bigger than himself. When one sunny day three rodents rudely harass him, something snaps... and the rabbit ain't no bunny anymore! In the typical cartoon tradition he prepares the nasty rodents a comical revenge.\n\nLicensed under the Creative Commons Attribution license\nhttp://www.bigbuckbunny.org", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" ], | |
| "subtitle" : "By Blender Foundation", | |
| "thumb" : "images/BigBuckBunny.jpg", | |
| "title" : "Big Buck Bunny" | |
| }, | |
| { "description" : "The first Blender Open Movie from 2006", | |
| "sources" : [ "http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ElephantsDream.mp4" ], |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
Following instructions from the excellent https://www.rinkeby.io/
A full node lets you access all state. There is a light node (state-on-demand) and wallet-only (no state) instructions as well,
| #!/bin/sh | |
| ## This script allows to preselect the next window split | |
| ## direction for bspwm with the mouse. | |
| ## | |
| ## Usage Example (add to .sxhkdrc): | |
| ## super + ctrl + {_,shift + } button3 | |
| ## bspc node {,$(xdotool getmouselocation | cut -d ':' -f 5)} -p $(~/.config/bspwm/pointer_region.sh {active,all}) | |
| ## | |
| ## Author: notuxic |
| export const interceptor = (store) => { | |
| axios.interceptors.response.use(response => { | |
| console.log(`request to ${response.config.url} OK with ${response.status}`) | |
| return Promise.resolve(response) | |
| }, (error) => { | |
| console.log(`request to ${error.response.config.url} failed with ${error.response.status}`) | |
| if (error.response.status == 401) { | |
| const failedRequestConfig = error.config |
| import IPython | |
| import threading | |
| import time | |
| import os | |
| def display_netron(path): | |
| os.system(f'netron {path}') | |
| thread = threading.Thread(target=display_netron, args=(output_path,)) | |
| thread.start() |