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
FROM golang:1.19-alpine as build | |
WORKDIR /app/ | |
ADD . /app/ | |
RUN go get | |
RUN CGO_ENABLED=0 go build -o mainApp . |
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/sh | |
# Usage: curl <url to the raw script> | sh -s <size in MB> | |
# size of swapfile in megabytes | |
swapsize=1024 | |
if [ $1 ]; | |
then | |
swapsize=$1 |
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 | |
############################################# | |
# WARNING: DO NOT RUN THIS SCRIPT DIRECTLY. # | |
# THIS SHOULD BE RUN AS ROOT IN A RPI # | |
############################################# | |
if [ ! "$(whoami)" == "root" ]; | |
then | |
echo "YOU MUST RUN THIS AS ROOT" |
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
{ | |
"Postal code": "Poskod", | |
"Important": "Penting", | |
"Page not found": "Laman tidak dijumpai", | |
"We can't find the page or service you're looking for": "Kami tidak dapat mencari halaman atau perkhidmatan yang anda cari", | |
"The link you clicked may be broken, or the page no longer exists": "Pautan yang anda klik boleh dipecahkan, atau halaman tidak lagi wujud", | |
"Something went wrong!": "Ada yang salah!", | |
"Something must have gone wrong": "Ada sesuatu yang salah", | |
"Send an e-mail to": "Hantar e-mel ke", | |
"if you can't get it to work.": "jika anda tidak boleh melakukannya untuk bekerja.", |
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
Verifying my Blockstack ID is secured with the address 1NUJLHzfTrb1hibs18WFKJEutqe6rvG3Au https://explorer.blockstack.org/address/1NUJLHzfTrb1hibs18WFKJEutqe6rvG3Au |
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/python | |
import sqlite3 as lite | |
import sys | |
con = None | |
try : | |
con = lite.connect(<Sqlite file>) | |
con.row_factory = lite.Row |