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
@dedalqq
dedalqq / bash_profile
Created October 30, 2014 06:36
From chrome://newtab/
# Включаем автоподстановку
if [ -f ~/.scripts/git-completion.bash ]; then
. ~/.scripts/git-completion.bash
fi
# Включаем отображение состояния в строке приветствия bash
if [ -f ~/.scripts/git-prompt.sh ]; then
. ~/.scripts/git-prompt.sh
fi
#!/bin/bash
mkdir /tmp/bison
cd /tmp/bison
apt-get update
apt-get install -y build-essential m4
wget http://ftp.gnu.org/gnu/bison/bison-2.7.tar.gz
tar -xvf bison-2.7.tar.gz
#include <stdio.h>
#include <unistd.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>
typedef union {
char str[4];
struct {
char c1;
package main
import (
"testing"
)
type bar struct {
}
func (b *bar) foo() {}
package main
import (
"fmt"
"log"
"net/http"
"os"
"sync"
"time"
)