This file contains hidden or 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
#----------------------------------------- | |
# Installing Required Tools | |
#----------------------------------------- | |
sudo apt-get update | |
lb config \ | |
-d sid \ | |
-a amd64 \ | |
--apt-recommends false \ | |
--apt-options '--yes -oAPT::Default-Release=unstable' \ |
This file contains hidden or 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
# This is a basic workflow to help you get started with Actions | |
name: CI | |
# Controls when the action will run. Triggers the workflow on push or pull request | |
# events but only for the master branch | |
on: | |
push: | |
branches: [ master ] |
This file contains hidden or 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
[{ | |
"title": "Greetings, Earthlings", | |
"date": "May 7, 2020", | |
"thumb": "https://cdn.openai.com/research-covers/solving-rubiks-cube/2x-no-mark.jpg", | |
"data": { | |
"txt0": "Next morning the not-yet-subsided sea rolled in long slow billows of mighty bulk, and striving in the Pequod’s gurgling track, pushed her on like giants’ palms outspread. The strong, unstaggering breeze abounded so, that sky and air seemed vast outbellying sails; the whole world boomed before the wind. Muffled in the full morning light, the invisible sun was only known by the spread intensity of his place; where his bayonet raysmoved on in stacks. Emblazonings, as of crowned Babylonian kings and queens, reigned over everything. The sea was as a crucible of molten gold, that bubblingly leaps with light.", | |
"txt1": "Finally Finished first little blog, phew. Next some blogs gonna be about GNOME journey.", | |
"img" : { | |
"url": "https://3xvudwwkhak |
This file contains hidden or 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
list { background: transparent; } | |
list row { min-height: 36px; padding: 0 24px; } | |
list row image.sidebar-icon:dir(ltr) { padding-right: 8px; } | |
list row image.sidebar-icon:dir(rtl) { padding-left: 8px; } | |
list row label.sidebar-label:dir(ltr) { padding-right: 2px; } | |
list row label.sidebar-label:dir(rtl) { padding-left: 2px; } | |
headerbar { | |
background: transparent; | |
border-bottom: 0; |
This file contains hidden or 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
#----------------------------------------- | |
# Installing Required Tools | |
#----------------------------------------- | |
sudo apt-get install live-build | |
#---------------------------------------- | |
# Configurating Live Build (lb_config) | |
#---------------------------------------- | |
lb config \ | |
--apt-recommends false \ |
This file contains hidden or 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
#----------------------------------------- | |
# Installing Required Tools | |
#----------------------------------------- | |
sudo apt-get install live-build | |
#---------------------------------------- | |
# Configurating Live Build (lb_config) | |
#---------------------------------------- | |
lb config \ |
This file contains hidden or 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
adwaita-icon-theme | |
at-spi2-atk | |
at-spi2-core | |
atk | |
atkmm | |
atkmm | |
baobab | |
cantarell-fonts | |
cheese | |
clutter |
This file contains hidden or 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
# Install build tools | |
sudo apt-get install python3 python3-pip python3-setuptools python3-wheel ninja-build meson | |
#gnome-shell | |
echo "downloading gnome-shell..." | |
curl -o gnome-shell-3.35.91.tar.xz https://ftp.gnome.org/pub/GNOME/sources/gnome-shell/3.35/gnome-shell-3.35.91.tar.xz | |
tar -xz gnome-shell-3.35.91.tar.xz | |
echo "install gnome-shell dependencies..." | |
sudo apt-get install pkg-config cmake libecal2.0-dev libgirepository1.0-dev |
This file contains hidden or 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
import kotlinx.cinterop.* | |
import platform.posix.* | |
// IrFile | |
// ------------------------------------------------------ | |
data class PsiFile internal constructor(val path: String, var name: String = path.substringAfterLast('/')) | |
val PsiFile.open get() = open(path, O_RDONLY) | |
val PsiFile.size get() = nativeHeap.alloc<stat>().apply { stat(path, ptr) }.st_size |
This file contains hidden or 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
// http_URL = "http:" "//" host [ ":" port ] [ abs_path [ "?" query ]] | |
// | |
// Usage: | |
// ---------------------------------------------- | |
// val url = URL("http://abc.com:80/smith/home.html?key=value&key2=value2") | |
// println("${url.protocol} -- ${url.host} -- ${url.port} -- ${url.path} -- ${url.query}") | |
// --------------------------------------------- | |
class URL(url: String){ | |
var protocol = "" |