Skip to content

Instantly share code, notes, and snippets.

View shellandbull's full-sized avatar
🛰️

Mario Gintili shellandbull

🛰️
View GitHub Profile
@shellandbull
shellandbull / sample.md
Last active June 26, 2024 13:48
failed clojure connection command

Here's the sample

/usr/local/bin/clojure  -J-XX:-OmitStackTraceInFastThrow -Sdeps \{\:\deps\ \{nrepl/nrepl\ \{\:mvn/version\ \"1.2.0\"\}\ cider/cider-nrepl\ \{\:mvn/version\ \"0.49.0\\"\}\}\ \:aliases\ \{\:cider/nrepl\ \{\:main-opts\ \[\"-m\"\ \"nrepl.cmdline\"\ \"--middleware\"\\\"\[cider.nrepl/cider-middleware\]\"\]\}\}\} -M:cider/nrepl 

💡 I have to run nrepl and then jack in to that using nrepl's commands 💡

<h1>Hello world!</h1>
<iframe src="http://quotes.carwow.local/widgets/sell-my-car" width="640" height="480">

Hello Marco, can you pay the €4,600 that you owe me?

You hired me as a contractor on €575 a day on a 2 week notice period both ways. Here's a screenshot of the contract:

And the termination clause

original(german)

@shellandbull
shellandbull / pollen.md
Last active August 7, 2021 12:19
pollen.md

ybk9e3ht43

{
"bootstrapped": true,
"in_process_packages":
[
],
"installed_packages":
[
"Cucumber",
"Handlebars",
"JSX",
import Ember from 'ember';
export default Ember.Controller.extend({
myService: Ember.inject.service(),
appName: 'Ember Twiddle',
init() {
console.log('controller#init');
this.get('myService').setProperties({a: 1, b: 2 });
}
import Ember from 'ember';
export default Ember.Controller.extend({
myService: Ember.inject.service(),
appName: 'Ember Twiddle',
init() {
console.log('controller#init');
this.get('myService').setProperties({a: 1, b: 2 });
}
@shellandbull
shellandbull / swag.js
Last active February 27, 2017 15:40
Sample event argument using lambda-proxy
{
"resource": "/messages",
"path": "/messages",
"httpMethod": "GET",
"headers": {
"Accept": "*/*",
"CloudFront-Forwarded-Proto": "https",
"CloudFront-Is-Desktop-Viewer": "true",
"CloudFront-Is-Mobile-Viewer": "false",
"CloudFront-Is-SmartTV-Viewer": "false",
@shellandbull
shellandbull / policy.md
Created February 23, 2017 13:43
Privacy Policy

Privacy Policy

The app you're about to use is only used for demostrative examples and no personal data from you will ever be collected.

Thanks!

@shellandbull
shellandbull / foobar.md
Last active May 19, 2019 14:24
ml udacity error

given

from sklearn.tree import DecisionTreeRegressor
from sklearn.metrics import make_scorer
from sklearn.grid_search import GridSearchCV
from sklearn.metrics import precision_score

def fit_model(X, y):
    """ Performs grid search over the 'max_depth' parameter for a