Skip to content

Instantly share code, notes, and snippets.

View untrusted-lvl2-solution.js
/********************
* theLongWayOut.js *
********************
*
* Well, it looks like they're on to us. The path isn't as
* clear as I thought it'd be. But no matter - four clever
* characters should be enough to erase all their tricks.
*/
function startLevel(map) {
View app.js
const sp = require('socket.io-pull-stream');
const pull = require('pull-stream');
const io = require('socket.io-client');
const socket = io('http://localhost:8000');
// add functions
sp(socket);
socket.on('connect', () => {
// console.log('id:', socket.id);
View FoldRight.kt
package chap4.FolddingLists
import atomictest.eq
fun main() {
val list = listOf('a', 'b', 'c', 'd')
list.fold("*") { acc, elem ->
"($acc) + $elem"
} eq "((((*) + a) + b) + c) + d"
list.foldRight("*") { elem, acc ->
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 Changed Paths
x86_64-linux tests.nixos-functions.nixos-test
@adityasai2002
adityasai2002 / PY0101EN-1-2-Strings.ipynb
Created May 7, 2021
Created on Skills Network Labs
View PY0101EN-1-2-Strings.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View nlp-2.py
from keras.preprocessing.sequence import pad_sequences
from keras.layers import Input, Dense, LSTM, Embedding
from keras.layers import Dropout, Activation, Bidirectional, GlobalMaxPool1D
from keras.models import Sequential
from keras import initializers, regularizers, constraints, optimizers, layers
from keras.preprocessing import text, sequence
# set the emotion/sentiment as our target
target = df['emotion']
View PY0101EN-1-1-Write_your_first_python_code.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View commands.md