This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// document.addEventListener('DOMContentLoaded', function() { | |
// console.log("sending request ") | |
// $.ajax({ | |
// type: 'GET', | |
// crossDomain: true, | |
// url: 'https://nb2ikd1ft4.execute-api.us-east-1.amazonaws.com/production', | |
// success: function(data){ | |
// console.log(data) | |
// }, | |
// error: function(err){ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# (c) 2020 Humu | |
# MIT License | |
from typing import Any | |
import github | |
AUTOMERGE_LABEL_NAME = 'automerge' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.box { | |
border: 4px solid #8FB3E7; | |
padding: 20px; | |
color: white; | |
display: flex; | |
justify-content: center; | |
flex-direction: column; | |
text-align: center; | |
width: 1200px; | |
height: 630px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2015-present, Facebook, Inc. | |
* | |
* This source code is licensed under the MIT license found in the | |
* LICENSE file in the root directory of this source tree. | |
* | |
* @format | |
*/ | |
'use strict'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'date' | |
require 'time' | |
require 'google/apis/calendar_v3' | |
require 'googleauth' | |
require 'ap' | |
class Reminder | |
attr_reader :date, :time, :message | |
def initialize(date, time, message) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arr =[ | |
{ | |
'merchant_id' => '3000', | |
'service_id' => '1234', | |
'dtls' => [ | |
{ | |
'dtl1' => [ | |
{ | |
'dtl_rowno' => '1', | |
'dtl_item_id' => '345', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
var deck = new Deck(); | |
print(deck); | |
deck.removeCard('Diamonds', 'Ace'); | |
print(deck); | |
} | |
class Card { | |
String rank; | |
String suit; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# HamroPatro might change it's api endopint | |
require 'rest-client' | |
require 'loofah' | |
require 'loofah/helpers' | |
eng_date = File.readlines('nepdate.txt') | |
mahina = {"बैशाख" => 1, "जेठ" => 2, "आषाढ" => 3, "श्रावण" => 4,"भाद्र" => 5, "आश्विन" => 6, "कार्तिक" => 7, "मंसिर" => 8, "पौष" => 9, "माघ" => 10, "फाल्गुण" => 11, "चैत्र" => 12} | |
mahinaharu = Regexp.new(mahina.keys.map {|x| Regexp.escape(x) }.join('|')) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo mount -o remount,size=10G,noatime /tmp | |
echo "Done. Please use 'df -h' to make sure folder size is increased." |
NewerOlder