This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##virtual box only | |
VBoxClient-all & | |
export GTK_IM_MODULE=fcitx | |
export QT_IM_MODULE=fcitx | |
export XMODIFIERS=@im=fcitx | |
export LC_CTYPE=en_US.UTF-8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rsync -avPHSX /var/lib/docker/ /data/lib/docker/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "comPro.h" | |
#include <stdio.h> | |
#include <string.h> | |
int main(int argc,char* argv[]) | |
{ | |
int icdev,st,number; | |
char szVer[128]; | |
int iNode = 0; | |
char szNode[128]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "comPro.h" | |
#include <stdio.h> | |
#include <string.h> | |
int main(int argc,char* argv[]) | |
{ | |
int icdev,st,number; | |
char szVer[128]; | |
int iNode = 0; | |
char szNode[128]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int ledPin=PA8; | |
HardwareTimer timer(1); | |
void setup() { | |
// put your setup code here, to run once: | |
pinMode(ledPin,OUTPUT); | |
digitalWrite(ledPin,LOW); | |
pinMode(ledPin,PWM); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/pulseaudio -nF | |
.fail | |
load-module module-device-restore | |
load-module module-stream-restore | |
load-module module-card-restore | |
load-module module-augment-properties | |
load-module module-switch-on-port-available | |
.ifexists module-switch-on-connect.so | |
load-module module-switch-on-connect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Automatically generated file; DO NOT EDIT. | |
# Linux/arm64 5.10.112 Kernel Configuration | |
# | |
CONFIG_CC_VERSION_TEXT="real-aarch64-linux-android-gcc (GCC) 4.9.x 20150123 (prerelease)" | |
CONFIG_CC_IS_GCC=y | |
CONFIG_GCC_VERSION=40900 | |
CONFIG_LD_VERSION=227000000 | |
CONFIG_CLANG_VERSION=0 | |
CONFIG_LLD_VERSION=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
GREEN='\033[1;32m' | |
NC='\033[0m' | |
printf "${GREEN}Installing dependencies...${NC}\n" | |
# Install growpart util | |
export DEBIAN_FRONTEND=noninteractive | |
sudo apt-get -y install cloud-guest-utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Default server configuration | |
# | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /var/www/html; | |
index index.html index.htm index.nginx-debian.html; | |
server_name _; | |
location / { | |
try_files $uri $uri/ =404; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Needs freetype-py>=1.0 | |
# For more info see: | |
# http://dbader.org/blog/monochrome-font-rendering-with-freetype-and-python | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2013 Daniel Bader (http://dbader.org) |
NewerOlder