Skip to content

Instantly share code, notes, and snippets.

@mmazzarolo
mmazzarolo / elevations.ts
Created Nov 19, 2019
React-Native cross platform elevation definitions
View elevations.ts
/**
* React-Native cross-platform elevations.
* Based on https://ethercreative.github.io/react-native-shadow-generator/
*
* Usage:
* 1. Import "elevations" from this file
* import { elevations } from "config/elevations";
* 2. Use it. Assuming you need an elevation of 2 (based on the Android
* elevation standard), doing the following will cast the same shadow
* on both platforms:
View keybase.md

Keybase proof

I hereby claim:

  • I am mradamskyys on github.
  • I am bagietamajkel (https://keybase.io/bagietamajkel) on keybase.
  • I have a public key ASB_OkcKzdWnmdQ9S5XBXzlbOrBpixxSVY7aahN-fWCalgo

To claim this, I am signing this object:

View gist:5f8dc4d6ab0c392b5abdff30622f200a
mysql> SELECT * FROM school;
Empty set (0,00 sec)
mysql> INSERT INTO school (name, country, capacity) VALUES ('Beauxbatons Academy of Magic', 'France', 550) , ('Castelobruxo ', 'Brazil', 380), ('Durmstrang Institute', 'Norway', 570), ('Hogwarts School of Witchcraft and Wizardry', 'United Kingdom', 450), ('Ilvermorny School of Witchcraft and Wizardry', 'USA', 300), ('Koldovstoretz', 'Russia', 125), ('Mahoutokoro School of Magic', 'Japan', 800), ('Uagadou School of Magic', 'Uganda', 350);
Query OK, 8 rows affected (0,02 sec)
Records: 8 Duplicates: 0 Warnings: 0
mysql> SELECT * FROM school; +----+----------------------------------------------+----------+----------------+
| id | name | capacity | country |
+----+----------------------------------------------+----------+----------------+
View untrusted-lvl1-solution.js
/*****************
* cellBlockA.js *
*****************
*
* Good morning, Dr. Eval.
*
* It wasn't easy, but I've managed to get your computer down
* to you. This system might be unfamiliar, but the underlying
* code is still JavaScript. Just like we predicted.
*
View server.js
const http = require('http');
const port = 8000
const url = require('url');
const requestHandler = (request, response) => {
const parsedUrl = url.parse(request.url, true);
console.log(request.url);
if (parsedUrl.query.name === "" && parsedUrl.query.city) {
response.end(`Hello, <name> from <city>`)
}
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object: {

View given_when_then
Given an apple basket that consists of 2 apples with a maximum capacity of 5 apples
When I add 1 apple to the basket
Then the basket should have 3 apples in the basket
View Potential Maintainers
Maintainers:
romildo: numix-icon-theme-circle, numix-icon-theme-circle, numix-icon-theme-square, numix-icon-theme-square, numix-icon-theme-square, numix-icon-theme-circle
View Changed Paths
x86_64-linux numix-icon-theme-circle
i686-linux numix-icon-theme-circle
aarch64-linux numix-icon-theme-square
i686-linux numix-icon-theme-square
x86_64-linux numix-icon-theme-square
aarch64-linux numix-icon-theme-circle
View keybase.md

Keybase proof

I hereby claim:

  • I am silent288 on github.
  • I am aanzeenk197 (https://keybase.io/aanzeenk197) on keybase.
  • I have a public key ASA0c1O2G1O9NlwjqdbZ1DsGLN133whDQKgZLL4vlxLa9go

To claim this, I am signing this object:

You can’t perform that action at this time.