Skip to content

Instantly share code, notes, and snippets.

View bashirk's full-sized avatar
πŸ”₯
Working from home

Korede Bashir bashirk

πŸ”₯
Working from home
View GitHub Profile
@bashirk
bashirk / workings_cd.yaml
Created November 22, 2024 16:03
WorkingsNG CD pipeline gist
name: Deploy Container Image to EC2
on:
workflow_run:
workflows: ["Build WorkingsNG Container Image"]
types:
- completed
jobs:
deploy:
echo "deb http://packages.ros.org/ros/ubuntu focal main" | sudo tee /etc/apt/sources.list.d/ros-focal.list
sudo apt-key adv --keyserver 'hkp://keyserver.ubuntu.com:80' --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
sudo apt update
sudo apt install ros-noetic-desktop-full
source /opt/ros/noetic/setup.bash
echo "source /opt/ros/noetic/setup.bash" >> ~/.bashrc
{
"name": "node101",
"version": "1.0.0",
"description": "",
"main": "app.js",
"scripts": {
"start": "node app.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
const express = require('express');
const app = express();
const path = require('path')
app.set('view engine', 'ejs')
app.set('views', path.join(__dirname, 'views'))
//body parser middleware
app.use(express.urlencoded({
<h1>Welcome here <%= name %>. You indicated that you're <%= stuff %> years old.</h1>
<h1>NodeJS app running on azure using App Service </h1>
<br><br>
<form method="post">
<label for="name">Name: </label>
<input type="text" name="name">
<br><br>
<label for="stuff">age: </label>
@bashirk
bashirk / array-exercise.py
Last active February 7, 2019 17:24
Code Challenge: Given an array of ints, return True if the sequence.. 1, 3, 4 .. appears in the array somewhere.
#Code Test: Given an array of ints, return True if the sequence.. 1, 3, 4 .. appears in the array somewhere.
def arrayIntContainSequence(arrayInt):
containsSequence = False
for index in range (0, len(arrayInt)-2):
if(arrayInt[index] == 1):
if(arrayInt[index+1] == 3):
if(arrayInt[index+2] == 4):
containsSequence = True
@bashirk
bashirk / gist:4e20413ed9e614f69f0230bed73c189e
Created January 28, 2019 03:57 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue: