This guide will help you host an APT repository on Github.
You need to install the following packages.
- reprepro
#/etc/udev/rules.d/99-usb-sync.rules | |
# rule to disable write cache for usb storage | |
# requires hdparm to be installed | |
ACTION=="add|change", KERNEL=="sd[a-z]", ENV{ID_USB_TYPE}=="disk", RUN+="/usr/bin/hdparm -W 0 /dev/%k" |
Here are steps to install GDAL in Anaconda with python bindings.
conda create -n geospatial python=3.9
This cheatsheet is for the following video that shows how to Install and Run the PostgreSQL Database server on your Andriod Phone. Watch this video for a complete Demo/Solution: https://youtu.be/7edutr-ALdc
Once termux is installed open it and use the shell for below commands
import kotlinx.coroutines.experimental.CommonPool | |
import kotlinx.coroutines.experimental.channels.Channel | |
import kotlinx.coroutines.experimental.launch | |
import okhttp3.* | |
import okio.ByteString | |
import kotlin.coroutines.experimental.suspendCoroutine | |
/** | |
* Created by omarmiatello on 17/06/17. | |
*/ |
A recreation of the [Typst](https://typst.app) inspired by https://github.com/SAWARATSUKI/ServiceLogos. Created in Inkscape. | |
# License | |
1. Competely free for personal use. | |
2. Credit this gist or me (fenjalien) when sharing or distributing the image. | |
3. No commercial use, unless explicit permission has been granted. |
*update: TBC, but this new might affect how easy it is to use this technique past August 2024: Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August
This gist, based in part on a gist by Brian Hartvigsen, allows you to export from Authy your TOTP tokens you have stored there.
Those can be "standard" 6-digits / 30 secs tokens, or Authy's own version, the 7-digits / 10 secs tokens.
private static uint Adler32(string str) | |
{ | |
const int mod = 65521; | |
uint a = 1, b = 0; | |
foreach (char c in str) { | |
a = (a + c) % mod; | |
b = (b + a) % mod; | |
} | |
return (b << 16) | a; | |
} |
pragma solidity ^0.4.24; | |
contract PipeProxy { | |
function proxy( | |
address _to, | |
bytes input_bytes, | |
uint256 gas_value | |
) | |
payable |