Skip to content

Instantly share code, notes, and snippets.

View dedalqq's full-sized avatar
Working from home

Timofey Kovalev dedalqq

Working from home
View GitHub Profile
View main.go
package main
import (
View main_test.go
package main
import (
type bar struct {
func (b *bar) foo() {}
View main.c
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
typedef union {
char str[4];
struct {
char c1;
mkdir /tmp/bison
cd /tmp/bison
apt-get update
apt-get install -y build-essential m4
tar -xvf bison-2.7.tar.gz
dedalqq / bash_profile
Created October 30, 2014 06:36
From chrome://newtab/
View bash_profile
# Включаем автоподстановку
if [ -f ~/.scripts/git-completion.bash ]; then
. ~/.scripts/git-completion.bash
# Включаем отображение состояния в строке приветствия bash
if [ -f ~/.scripts/ ]; then
. ~/.scripts/