Your repository has two commits:
$ git log --oneline
957fbfb No, I am your father.
9bb71ff A long time ago in a galaxy far, far away....
package main | |
// #include <stdlib.h> | |
// #include "wrapper.c" | |
import "C" | |
import "unsafe" | |
import "fmt" | |
func read(filename string) string { | |
f := C.CString(filename) |
Twelve Go Best Practices
Francesc Campoy Flores Gopher at Google @francesc http://campoy.cat/+
When using ArchLinux, I typically prefer to use an AUR helper like pacaur or yaourt to automate away the process of installing a community package.
Ansible's pacman module is
great, but it doesn't support AUR packages or pacman's -U
flag.
Installing AUR packages with Ansible seemed to be left as an exercise to
the user, and since AUR helpers do not come with a fresh Arch install, I
... or Why Pipelining Is Not That Easy
Golang Concurrency Patterns for brave and smart.
By @kachayev
Chronological list of the "systemd for Administrators" series published on 0pointer.net/blog:
#!/usr/bin/env python | |
"""Edit a file in the host nvim instance.""" | |
import os | |
import sys | |
from neovim import attach | |
args = sys.argv[1:] | |
if not args: | |
print "Usage: {} <filename> ...".format(sys.argv[0]) |
" Insert into your .vimrc after quick-scope is loaded. | |
" Obviously depends on <https://github.com/unblevable/quick-scope> being installed. | |
" Thanks to @VanLaser for cleaning the code up and expanding capabilities to include e.g. `df` | |
let g:qs_enable = 0 | |
let g:qs_enable_char_list = [ 'f', 'F', 't', 'T' ] | |
function! Quick_scope_selective(movement) | |
let needs_disabling = 0 |
@echo off | |
echo Uninstalling KB3075249 (telemetry for Win7/8.1) | |
start /w wusa.exe /uninstall /kb:3075249 /quiet /norestart | |
echo Uninstalling KB3080149 (telemetry for Win7/8.1) | |
start /w wusa.exe /uninstall /kb:3080149 /quiet /norestart | |
echo Uninstalling KB3021917 (telemetry for Win7) | |
start /w wusa.exe /uninstall /kb:3021917 /quiet /norestart | |
echo Uninstalling KB3022345 (telemetry) | |
start /w wusa.exe /uninstall /kb:3022345 /quiet /norestart | |
echo Uninstalling KB3068708 (telemetry) |
from __future__ import print_function | |
from keras.datasets import cifar10 | |
from keras.layers import merge, Input | |
from keras.layers.convolutional import Convolution2D, ZeroPadding2D, AveragePooling2D | |
from keras.layers.core import Dense, Activation, Flatten, Dropout | |
from keras.layers.normalization import BatchNormalization | |
from keras.models import Model | |
from keras.preprocessing.image import ImageDataGenerator | |
from keras.utils import np_utils |