Skip to content

Instantly share code, notes, and snippets.

View axionl's full-sized avatar
ArielAxionL is typing...

ArielAxionL axionl

ArielAxionL is typing...
View GitHub Profile
@axionl
axionl / Arduino
Last active November 3, 2017 07:07
Main.c
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include <MsTimer2.h>
#include <LedControl.h>
int count = 0;
int DIN = 12;
int CS = 11;
@axionl
axionl / WallBreaker.py
Created December 7, 2017 07:42 — forked from ysc3839/WallBreaker.py
WallBreaker
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys, socket, select, SocketServer, struct, logging
from time import sleep
logging.basicConfig(level=logging.INFO)
BUFLEN = 1024
SLEEPTIME = 0.4
@axionl
axionl / gitstars.json
Created February 6, 2018 05:52
github stars manager for production
{"tags":[],"lastModified":1517896363954}
@axionl
axionl / fish-pycharm
Last active March 2, 2018 15:38
fish-config
sudo ln -s /home/username/.config/fish/fishd.username /opt/pycharm-professional/plugins/terminal/fish/fishd.username
@axionl
axionl / listen1_aha_playlist.md
Created April 5, 2018 02:56
updated by Listen1(http://listen1.github.io/listen1/) at 2018/4/5 上午10:56:22

本歌单由Listen1创建, 歌曲数:20,歌单数:1,点击查看更多

@axionl
axionl / otf-fira-code-PKGBUILD
Created May 23, 2018 13:47
[otf-fira-code] pkgbuild file.
# $Id$
# Maintainer: Ariel AxionL <axionl@aosc.io>
pkgbase=fira-code-fonts
pkgname=('ttf-fira-code' 'otf-fira-code')
pkgver=1.205
pkgrel=1
pkgdesc="Monospaced font with programming ligatures"
arch=('any')
license=('custom:OFL')
@axionl
axionl / .cargo_config
Last active December 7, 2018 15:39
My common config
[source.crates-io]
replace-with = 'ustc'
[source.ustc]
registry = "https://mirrors.ustc.edu.cn/crates.io-index"
@axionl
axionl / SieloBrowser-PKGBUILD
Last active July 1, 2018 18:18
SieloBrowser-PKGBUILD
# Maintainer: Ariel AxionL <axionl@aosc.io>
pkgname=sielo-browser-git
_pkgname=sielo-browser
pkgver=r1071.0787986
pkgrel=1
pkgdesc="A simple, customizable and fast web browser"
arch=('x86_64')
depends=('qt5-base' 'qt5-webengine')
makedepends=('git' 'cmake' 'imagemagick'
'qt5-webchannel' 'qt5-location' 'qt5-declarative')
NextSeqNum = InitialSeqNumber
SendBase = InitialSeqNumber
loop (forever) {
switch(evnet)
event: data received from application above
// create TCP segment with sequence number NextSeqNum
if (timer currently not running)
start timer
// pass segment to IP
@axionl
axionl / tmux-cheatsheet.markdown
Created September 14, 2018 06:03 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname