sudo apt install flatpak
sudo flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub net.minetest.Minetest
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
| #!/bin/bash | |
| set -e | |
| PROXY_URL=myproxy.socgen.com | |
| PROXY_USERNAME=my_user_name | |
| function proxy_fnc(){ | |
| read -s -p "Enter Password: " PROXY_PASSWORD | |
| echo | |
| local prefix="$PROXY_USERNAME:$PROXY_PASSWORD" |
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
| var swarm = require('discovery-swarm'); | |
| const crypto = require('crypto'); | |
| const net = require('net'); | |
| const topic = crypto.createHash('sha256') | |
| .update('my key') | |
| .digest(); | |
| console.log('args',process.argv); | |
| const port = process.argv[2] || 10001; | |
| var sw = swarm({ | |
| dns:{ |
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
| 'use strict' | |
| const { inspect } = require('util') | |
| const hyperswarm = require('hyperswarm') | |
| const crypto = require('crypto') | |
| const swarm = hyperswarm(); | |
| const sockets = new WeakMap(); | |
| if (!process.argv[2]) { throw Error('node example.js <topic-key>') } | |
| const key = crypto.createHash('sha256') |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| var http = require('http') | |
| , fs = require('fs') | |
| , PORT = process.argv[2] || 8080 | |
| , HOST = process.argv[3] || '0.0.0.0' | |
| , SseStream = require('./ssestream.js'); | |
| function sendMessage(opt,sse){ | |
| sse.write(opt); | |
| } |
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
| const data = { | |
| "app": { | |
| "TITLE": "DoITnow", | |
| "PGAAS": "PostgreSQL - [app:TITLE]", | |
| "DB": "Database" | |
| }, | |
| "postgres": { | |
| "TITLE": "[app:PGAAS] Database", | |
| "DESC": "This is [postgres:TITLE] Management consol in [app:TITLE]" | |
| } |
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
| #!/bin/bash | |
| set -e | |
| sudo pacman-key -r 8238651DDF5E0594 --keyserver na.pool.sks-keyservers.net | |
| sudo pacman -Syu | |
| sudo pacman -S --noconfirm base-devel yay xorg-xrandr samba keepassxc lsof | |
| sudo pacman -S --noconfirm ibus ibus-libpinyin wine-staging winetricks lib32-libldap libldap lib32-gnutls lib32-krb5 | |
| # code | |
| sudo pacman -S --noconfirm code |
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
| #!/bin/bash | |
| set -e | |
| # add chrome-stable repo | |
| echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list | |
| # fix setting can't be saved error | |
| rm -rf ~/.config/dconf | |
| # install missing deps for nvidia |