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
interface wlan0 | |
pidfile /tmp/vintage_net/udhcpd.wlan0.pid | |
lease_file /tmp/vintage_net/udhcpd.wlan0.leases | |
notify_file /tmp/vintage_net/udhcpd.wlan0.udhcpd_handler | |
end 192.168.24.10 | |
start 192.168.24.2 | |
option dns 192.168.24.1 |
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
/*Benjamin Davis | |
03-29-19 | |
Lab8*/ | |
#include <stdio.h> | |
#include <assert.h> | |
#include <math.h> | |
int get_min_range(int list[], int first, int last); /*Calls prototype function get_min_range*/ | |
void select_sort (int list [], int n); |
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
Rotom-Wash @ Leftovers | |
Ability: Levitate | |
EVs: 252 HP / 200 Def / 56 Spe | |
Bold Nature | |
IVs: 0 Atk | |
- Hydro Pump | |
- Volt Switch | |
- Will-O-Wisp | |
- Pain Split |
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
"According to all known laws | |
of aviation, | |
there is no way a bee | |
should be able to fly. | |
Its wings are too small to get | |
its fat little body off the ground. |
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
if string.match(message.content, "beep") then | |
new_message = message.author:reply(message.channel_id, "boop") | |
message:create_reaction("🤖") | |
new_message:create_reaction("🤖") | |
end |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDV74EGCzSYUdlChm1ToKWjQptVw49ufQ43UQK7x/tkqo2+b+if9TrUk0RwwDjYfmvKdTAKQCmKpBgbjdVvMBBuPjQ4G3pU3O4vZ8ai3ykJ6KtaMqLu2zju1nTmZyOXgkFigHPuy1F+DyNsEAKfBqjWa9jNbvi6rCLIU9uHpcDsbgHULgCRlxfRYouHUstISSppBNEjCDWV8tDcrk6c3OCfoWbY8zxX11iGtVe9oMIL+PU40RBiul4REEXiB1Mj/8q3W+a4BvqrfPCx+7pNWALvBiImV1n5IFzBEYsLPacT2qf/YjmUoujLErg5IU52K+8TszUGnRUU2I467Lci5Let connor@ConnorLaptop |
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
#include <math.h> | |
#include <string.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
#define MAX_BUFFER_SIZE 512 | |
static int getLine(char *prmpt, char *buff, size_t sz) { | |
int ch, extra; |
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
[ | |
[ | |
fn params -> | |
%{x: locx, y: locy, z: locz} = point("Plant", 22043) | |
%{x: offx, y: offy, z: offz} = coordinate(0, 0, 0) | |
[x, y, z] = [offx - locx, offy - locy, offz - locz] | |
move_absolute(x, y, z, 100) | |
end, | |
fn params -> | |
parent = Keyword.fetch!(params, :parent) |
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
defmodule Mix.Tasks.Distribution.Push do | |
use Mix.Task | |
def run([node_name, cookie]) do | |
node_name = String.to_atom(node_name) | |
{:ok, _} = Node.start(:host) | |
Node.set_cookie(String.to_atom(cookie)) | |
true = Node.connect(node_name) | |
config = Mix.Project.config() | |
otp_app = config[:app] |
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
update_hook_test() -> | |
{ok, Db} = esqlite3:open(":memory:"), | |
ok = esqlite3:set_update_hook(self(), Db), | |
ok = esqlite3:exec("CREATE TABLE test (id INTEGER PRIMARY KEY, val STRING);", Db), | |
ok = esqlite3:exec("INSERT INTO test (val) VALUES ('this is a test');", Db), | |
ok = receive | |
{insert, 'test', 1} -> ok; | |
msg -> exit(msg) | |
after 150 -> no_message | |
end, |