Skip to content

Instantly share code, notes, and snippets.

View runningzyp's full-sized avatar
💭
we say ~~~

YunpengZhan runningzyp

💭
we say ~~~
  • Shanghai
View GitHub Profile
@runningzyp
runningzyp / theme
Last active May 14, 2023 03:14 — forked from Himanshu-Mishr/theme
126 Themes for Terminal (Elementary OS)
#!/bin/bash
# Download it.
# Name it as 'theme'
# Place it in /usr/bin/
# shell_prompt$ theme
echo '
3024 Day ( 1) 3024 Night ( 2) AdventureTime ( 3)
Afterglow ( 4) AlienBlood ( 5) Argonaut ( 6)
Arthur ( 7) Atom ( 8) Belafonte Day ( 9)
Belafonte Night ( 10) BirdsOfParadise ( 11) Blazer ( 12)
@runningzyp
runningzyp / gzipWriter.go
Created December 22, 2021 06:08 — forked from mchirico/gzipWriter.go
Example of writing a gzip file in go (golang). This appends data to the same file every time it is run. It is important to Flush() the data before closing the file.
/*
This is an example of a golang gzip writer program,
which appends data to a file.
*/
package main