Instance | Branch |
---|
%!TEX TS-program = xelatex | |
\documentclass[12pt]{scrartcl} | |
% The declaration of the document class: | |
% The second line here, i.e. | |
% \documentclass[12pt]{scrartcl} | |
% is a standard LaTeX document class declaration: | |
% we say what kind of document we are making in curly brackets, | |
% and specify any options in square brackets. |
#define _XOPEN_SOURCE 700 | |
#include <signal.h> | |
#include <unistd.h> | |
int main() | |
{ | |
sigset_t set; | |
int status; | |
if (getpid() != 1) return 1; |
(function () { | |
'use strict'; | |
angular.module('myApp') | |
.controller('SomeCtrl', SomeCtrl); | |
SomeCtrl.$inject = ['$scope', '$http', ' alertService']; | |
function SomeCtrl($scope, $http, alertService) { | |
$http.put('http://some.url/user/44', { |
#!/usr/bin/env ruby | |
# A small ruby script to extract a git history to a tikz picture | |
# Author: Michael Hauspie <Michael.Hauspie@lifl.fr> | |
# Author: Lennart C. Karssen <lennart@karssen.org> | |
# | |
# Not clean code, not always working well, but does its job in most of | |
# the cases I needed :) | |
# | |
# LCK: Added some ideas from this tex.stackexchange answer: |
# Path to your oh-my-zsh installation. | |
export ZSH=~/.oh-my-zsh | |
plugins=(git asdf zsh-syntax-highlighting zsh-autosuggestions zsh-autocomplete) | |
# User configuration | |
if [ -f $ZSH_CUSTOM/path.sh ]; then | |
source $ZSH_CUSTOM/path.sh | |
fi |
#The mouse will suck on linux because of the programmable buttons. | |
#This script will change the button-delegation so that the mouse doesn't stuck. | |
#@link https://community.linuxmint.com/hardware/view/10217 | |
sudo mkdir /etc/X11/xorg.conf.d | |
sudo rm /etc/X11/xorg.conf.d/910-rat.conf | |
# add the following to the file | |
echo "Section \"InputClass\"" >> /etc/X11/xorg.conf.d/910-rat.conf |
#!/bin/bash | |
set -eu | |
_UID=$(id -u) | |
GID=$(id -g) | |
# give lxd permission to map your user/group id through | |
grep root:$_UID:1 /etc/subuid -qs || sudo usermod --add-subuids ${_UID}-${_UID} --add-subgids ${GID}-${GID} root | |
# set up a separate key to make sure we can log in automatically via ssh | |
# with $HOME mounted |
Notes for slimming down a fresh installation of Raspbian Stretch Lite. This guide does not strip Raspbian of basic functionality such as Bluetooth and mDNS.
Install a fresh Raspbian Stretch Lite image into the SD card ([source][1]).
$ unzip -p 2018-04-18-raspbian-stretch-lite.zip | dd bs=4M of=/dev/sdX conv=fsync
Hey everyone - this is not just a one off thing, there are likely to be many other modules in your dependency trees that are now a burden to their authors. I didn't create this code for altruistic motivations, I created it for fun. I was learning, and learning is fun. I gave it away because it was easy to do so, and because sharing helps learning too. I think most of the small modules on npm were created for reasons like this. However, that was a long time ago. I've since moved on from this module and moved on from that thing too and in the process of moving on from that as well. I've written way better modules than this, the internet just hasn't fully caught up.
@broros
otherwise why would he hand over a popular package to a stranger?
If it's not fun anymore, you get literally nothing from maintaining a popular package.
One time, I was working as a dishwasher in a restu