Skip to content

Instantly share code, notes, and snippets.

View Antisunny's full-sized avatar

Ryan Lincs Antisunny

  • Hongkou, Shanghai
  • 23:31 (UTC +08:00)
View GitHub Profile
@ppoffice
ppoffice / README.md
Last active September 14, 2024 01:22
Install Visual Studio Code (actually code-server) on Android
  1. Install Termux, an Android terminal emulator that provides a Linux execution environment and various tools.

  2. Update system packages in Termux:

    $ pkg update -y
@ettingshausen
ettingshausen / convert.sh
Created November 27, 2019 12:21
How to convert mov to mp4 on macOS
brew install ffmpeg
ffmpeg -i /path/to/input/file /path/to/output.mp4
@Hendrixer
Hendrixer / editor.css
Last active March 3, 2024 14:29
VS code custom CSS for theme
.composite-title, .composite-title, .vs-dark .monaco-workbench>.activitybar>.content {
background-color: rgba(40, 44, 52, 1) !important;
}
.tabs-container, .tab, .tab.active, .title-actions, .tablist, .tabs-container, .tabs, .composite.title {
background-color: rgba(40, 44, 52, 1) !important;
}
.tab.active, .tab {
border-right: 0px !important;
@mculp
mculp / voices.txt
Created December 3, 2014 00:14
List of voices available by the `say` command on OS X
Agnes en_US # Isn't it nice to have a computer that will talk to you?
Albert en_US # I have a frog in my throat. No, I mean a real frog!
Alex en_US # Most people recognize me by my voice.
Alice it_IT # Salve, mi chiamo Alice e sono una voce italiana.
Alva sv_SE # Hej, jag heter Alva. Jag är en svensk röst.
Amelie fr_CA # Bonjour, je m’appelle Amelie. Je suis une voix canadienne.
Anna de_DE # Hallo, ich heiße Anna und ich bin eine deutsche Stimme.
Bad News en_US # The light you see at the end of the tunnel is the headlamp of a fast approaching train.
Bahh en_US # Do not pull the wool over my eyes.
Bells en_US # Time flies when you are having fun.
function Invoke-Touch {
<#
.SYNOPSIS
PowerShell inplementation of the Unix/Linux utility called touch.
.DESCRIPTION
Touch let's you update the access date and / or modification date of a file. If the file don't exist, an empty file will be created
unless you use the DoNotCreateNewFile parameter. This implementation have the original parameter names added as
aliases, so if you are familiar with the original touch utility it should be easy to use this one.
.EXAMPLE
Invoke-Touch newfile
@kimmel
kimmel / .perltidyrc
Created October 22, 2011 12:29
.perltidyrc Perl Best Practices
# PBP .perltidyrc file
# Uncomment #-st to fully emulate perltidy -pbp
-l=78 # Max line width is 78 cols
-i=4 # Indent level is 4 cols
-ci=4 # Continuation indent is 4 cols
#-st # Output to STDOUT
-b # Write the file inline and create a .bak file
-se # Errors to STDERR