Skip to content

Instantly share code, notes, and snippets.

View mehdi-alouane's full-sized avatar
:octocat:

Nucleas mehdi-alouane

:octocat:
View GitHub Profile
@mehdi-alouane
mehdi-alouane / settings.jsonc
Created May 15, 2023 13:04 — forked from hyperupcall/settings.jsonc
VSCode config to disable popular extensions' annoyances (telemetry, notifications, welcome pages, etc.)
// I'm tired of extensions that automatically:
// - show welcome pages / walkthroughs
// - show release notes
// - send telemetry
// - recommend things
//
// This disables all of that stuff.
// If you have more config, leave a comment so I can add it!!
{
@mehdi-alouane
mehdi-alouane / cloudSettings
Last active November 23, 2018 13:10
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-11-23T13:10:47.275Z","extensionVersion":"v3.2.0"}

Gradient shadow in pure CSS

alt text

HTML
<button>Let's Go !</button>
{
"color_scheme": "Packages/ayu/ayu-mirage.tmTheme",
"font_face": "hack",
"font_size": 11,
"ignored_packages":
[
"Vintage"
],
"indent_guide_options":
[
[
{
"title": "A Game of Thrones",
"authors": [
"George R. R. Martin"
],
"publisher": "Spectra",
"publishedDate": "1997",
"description": "The kingdom of the royal Stark family faces its ultimate challenge in the onset of a generation-long winter, the poisonous plots of the rival Lannisters, the emergence of the Neverborn demons, and the arrival of barbarian hordes",
"industryIdentifiers": [
@mehdi-alouane
mehdi-alouane / Google Books Search.js
Created August 21, 2016 14:50 — forked from jonathanmeaney/Google Books Search.js
Using google books rest api to search for books
<script>
function view_books()
{
$.getJSON('https://www.googleapis.com/books/v1/volumes?q=food+allergies&maxResults=5', function(data) {
var items = [];
$.each(data, function(key, val) {
items.push('<li id="' + key + '">' + val + '</li>');
});
@mehdi-alouane
mehdi-alouane / api.js
Created July 3, 2016 00:07 — forked from fwielstra/api.js
An example NodeJS / Mongoose / Express application based on their respective tutorials
/* The API controller
Exports 3 methods:
* post - Creates a new thread
* list - Returns a list of threads
* show - Displays a thread and its posts
*/
var Thread = require('../models/thread.js');
var Post = require('../models/post.js');
@mehdi-alouane
mehdi-alouane / Sublime Text 3 Build 3103 License Key - CRACK
Created June 26, 2016 10:10
Sublime Text 3 Build 3103 License Key - CRACK
I use the first
—– BEGIN LICENSE —–
Michael Barnes
Single User License
EA7E-821385
8A353C41 872A0D5C DF9B2950 AFF6F667
C458EA6D 8EA3C286 98D1D650 131A97AB
AA919AEC EF20E143 B361B1E7 4C8B7F04
@mehdi-alouane
mehdi-alouane / app.js
Created June 8, 2016 19:13 — forked from sogko/app.js
gulp + expressjs + nodemon + browser-sync
'use strict';
// simple express server
var express = require('express');
var app = express();
var router = express.Router();
app.use(express.static('public'));
app.get('/', function(req, res) {
res.sendfile('./public/index.html');