Skip to content

Instantly share code, notes, and snippets.

View abykal's full-sized avatar
💻
#DevSecOps

Aby Abraham abykal

💻
#DevSecOps
View GitHub Profile
@nolanlawson
nolanlawson / index.html
Last active April 2, 2023 19:44
Creating a database
<html>
<body>
<pre id="display"></pre>
<script src="//cdn.jsdelivr.net/pouchdb/latest/pouchdb.min.js"></script>
<script src="index.js"></script>
</body>
</html>
@peterjmag
peterjmag / react-native-talk.md
Last active June 21, 2021 10:13
Let's build a React Native app in 20 minutes - React Berlin #1 (April 2015)
@jgravois
jgravois / _webserver.md
Last active April 12, 2024 00:21
a simple guide for getting a local web server set up

Do I have a web server running?


having a web server turned on doesn't necessarily mean you are serving pages on the world wide web. its what allows you to load your own static files (.html, .js etc.) in a browser via http://.

if you're not sure whether or not you have a web server running, no problem! its easy to confirm.

what happens when you visit http://localhost/?

Basic Algorithm Scripting

FreeCodeCamp - Bonfire series

My FreeCodeCamp profile [http://freecodecamp.com/rlynjb]


  1. [Bonfire: Reverse a String] (#file-reverse-a-string-js)
  2. [Bonfire: Factorialize a Number] (#file-factorialize-a-number-js)
  3. [Bonfire: Check for Palindromes] (#file-check-for-palindromes-js)
  4. [Bonfire: Find the Longest Word in a String] (#file-find-the-longest-word-in-a-string-js)
@leonardofed
leonardofed / README.md
Last active May 15, 2024 11:28
A curated list of AWS resources to prepare for the AWS Certifications


A curated list of AWS resources to prepare for the AWS Certifications

A curated list of awesome AWS resources you need to prepare for the all 5 AWS Certifications. This gist will include: open source repos, blogs & blogposts, ebooks, PDF, whitepapers, video courses, free lecture, slides, sample test and many other resources.


@jherax
jherax / filterArray.js
Last active May 6, 2024 09:35
Filters an array of objects with multiple match-criteria.
/**
* Filters an array of objects using custom predicates.
*
* @param {Array} array: the array to filter
* @param {Object} filters: an object with the filter criteria
* @return {Array}
*/
function filterArray(array, filters) {
const filterKeys = Object.keys(filters);
return array.filter(item => {

SSH into AWS ec2/ Digitalocean droplet/ or else other PAAS, linux machine

  1. Install Docker
$sudo apt install docker.io
$sudo usermod -aG docker $USER

I already installed docker

@stomg7969
stomg7969 / blockstack address
Created April 18, 2019 22:02
blockstack address
Verifying my Blockstack ID is secured with the address 12u9ToF8YchQMYt9ZCcYFPJYATJHXrURKE https://explorer.blockstack.org/address/12u9ToF8YchQMYt9ZCcYFPJYATJHXrURKE
@stomg7969
stomg7969 / simpleFilterSample.js
Last active December 12, 2019 11:48
FILTER BLOG - sample filter function
const sampleArray1 = [1, 2, 3];
const sampleArray2 = ['apple', 'banana', 'cake'];
const result1 = sampleArray1.filter(number => number > 1);
const result2 = sampleArray2.filter(letter => letter.length > 4);
console.log(result1);
// => expected output: Array [2, 3]
console.log(result2);
// => expected output: Array ['apple', 'banana']
@stomg7969
stomg7969 / productAttributes.js
Last active December 12, 2019 11:48
FILTER BLOG - My product attributes
const category = ['innerwear', 'dress', 'robe', 'pajamas', 'sweater', 'pants'];
const color = ['white', 'black', 'brown', 'navy', 'blue', 'yellow', 'pink', 'purple', 'beige', 'red', 'green'];
const gender = ['unisex', 'girl', 'boy'];
const material = ['modal', 'cotton', 'spandex', 'tencel', 'rayon'];