Favourite talks from /dev/world/2016
https://www.youtube.com/watch?v=4sQzr6zPJkY
Great tips, very concrete, not just ideas.
Renderer: Apple M1 | |
Vendor: Apple | |
Version: 4.1 Metal - 71.0.7 | |
Device: Macmini9,1 | |
Shading language version: 4.10 | |
Max texture size: 16384 x 16384 | |
Max vertex texture image units: 16 |
Sampling process 42584 for 3 seconds with 1 millisecond of run time between samples | |
Sampling completed, processing symbols... | |
Analysis of sampling Microsoft.Python.LanguageServer (pid 42584) every 1 millisecond | |
Process: Microsoft.Python.LanguageServer [42584] | |
Path: /Users/USER/*/Microsoft.Python.LanguageServer | |
Load Address: 0x1038a5000 | |
Identifier: Microsoft.Python.LanguageServer | |
Version: 0 | |
Code Type: X86-64 | |
Parent Process: Code Helper (Renderer) [42449] |
local application = require "mjolnir.application" | |
local hotkey = require "mjolnir.hotkey" | |
local window = require "mjolnir.window" | |
local screen = require "mjolnir.screen" | |
local fnutils = require "mjolnir.fnutils" | |
function move_win_x(pos, div) | |
local win = window.focusedwindow() | |
local f = win:frame() | |
local s = win:screen():frame() |
/* Cargo.toml | |
[package] | |
name = "asteroids" | |
version = "0.1.0" | |
authors = ["me <[email protected]>"] | |
edition = "2018" | |
[dependencies] | |
rand = "0.5" |
#!/usr/bin/env python | |
import json | |
import sys | |
import re | |
import subprocess | |
incdirs = set() | |
with open("compile_commands.json") as fp: |
#!/usr/bin/env python | |
from __future__ import print_function | |
import json | |
import os | |
import shutil | |
import sys | |
import subprocess | |
import urllib2 |
Favourite talks from /dev/world/2016
https://www.youtube.com/watch?v=4sQzr6zPJkY
Great tips, very concrete, not just ideas.
#!/usr/bin/python | |
# use it with https://github.com/matryer/bitbar | |
import os | |
import re | |
import subprocess | |
import tempfile | |
import time | |
import urllib2 | |
TW_URL = 'https://twitter.com/PrimitivePic' |
set nocompatible | |
" load plugins if they are available | |
let s:myvimrc = expand($MBE . "/vim/vimrc") | |
let s:hasplugins = filereadable(s:myvimrc) | |
if s:hasplugins | |
filetype on | |
filetype off | |
set rtp+=$MBE . "/vim/bundle/vundle" |
#!/bin/bash | |
IFS=$'\n' | |
OS=$(uname) | |
[ -z "$VISRVNAME" ] && VISRVNAME="ko" | |
[ -f "$MBE/vim/vimrc" ] && VIMPARAMS=-u "$MBE/vim/vimrc" | |
if [ "$OS" == "Darwin" ]; then | |
if [ -h /Applications/MacVim.app ] || [ -d ~/Applications/MacVim.app ] ; then | |
if [ "$1" == "--printvimbin" ]; then | |
echo mvim |