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/osascript | |
on run argv | |
if not (count argv) = 2 | |
return "Usage:\n pptx-to-pdf <input file> <output file>" | |
end if | |
set pwd to do shell script "pwd" | |
set _input to item 1 of argv as text |
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
ss://Y2hhY2hhMjAtaWV0Zi1wb2x5MTMwNTo2c21udnVh@ca231.vpnbook.com:80/?outline=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
In native code, create the following: | |
// Globals | |
static jmethodID midStr; | |
static char * sigStr = "(Ljava/lang/String;ILjava/lang/String;)V"; | |
// Init - One time to initialize the method id, (use an init() function) | |
midStr = (*env)->GetMethodID(env, class, "javaDefineString", sigStr); | |
// Methods |
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 https://stackoverflow.com/questions/31797268/using-boost-log-on-android-for-logcats | |
#include <iostream> | |
typedef enum android_LogPriority { | |
ANDROID_LOG_UNKNOWN = 0, | |
ANDROID_LOG_DEFAULT, | |
ANDROID_LOG_VERBOSE, | |
ANDROID_LOG_DEBUG, | |
ANDROID_LOG_INFO, |
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
version: '2.1' | |
services: | |
bind: | |
restart: always | |
image: cawka/bind9:v1 | |
build: . | |
ports: | |
- "53:53/udp" | |
- "53:53/tcp" |
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
port=0 | |
interface=wlan0 | |
dhcp-range=10.1.1.100,10.1.1.200,255.255.255.0,24h |
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
auto eth0 | |
iface eth0 inet manual | |
auto wlan0 | |
iface wlan0 inet static | |
address 10.1.1.1 | |
broadcast 10.1.1.255 | |
netmask 255.255.255.0 | |
auto br0 |
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
; localhop_security should be enabled when NFD runs on a hub. | |
; "/localhop/nfd/fib" command prefix will be disabled when localhop_security section is missing. | |
localhop_security | |
{ | |
; This section defines the trust model for NFD RIB Management. It consists of rules and | |
; trust-anchors, which are briefly defined in this file. For more information refer to | |
; validator configuration file format documentation: | |
; | |
; https://named-data.net/doc/ndn-cxx/current/tutorials/security-validator-config.html | |
; |
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
#include "ns3/lte-module.h" | |
#include "ns3/core-module.h" | |
#include "ns3/network-module.h" | |
#include "ns3/internet-module.h" | |
#include "ns3/mobility-module.h" | |
#include "ns3/applications-module.h" | |
#include "ns3/point-to-point-module.h" | |
#include "ns3/config-store.h" | |
#include <cfloat> | |
#include <sstream> |
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
" colorscheme cawka | |
set wrap linebreak | |
map <Up> gk | |
map <Down> gj | |
" set showbreak=. | |
let &sbr = nr2char(8618).' ' " Show ↪ at the beginning of wrapped lines |