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
package com.sajilni.util; | |
import static org.junit.Assert.assertFalse; | |
import static org.junit.Assert.assertTrue; | |
import com.google.i18n.phonenumbers.NumberParseException; | |
import com.google.i18n.phonenumbers.PhoneNumberUtil; | |
import com.google.i18n.phonenumbers.PhoneNumberUtil.PhoneNumberType; | |
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber; | |
import com.google.i18n.phonenumbers.Phonenumber.PhoneNumber.CountryCodeSource; |
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
version: "1.0" | |
services: | |
nginx: | |
image: nginx:latest | |
restart: unless-stopped | |
volumes: | |
- .\config\nginx.conf:/etc/nginx/nginx.conf | |
- .\logs:/var/log/nginx | |
- .\html:/var/www/html | |
ports: |
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
using System; | |
using System.Collections.Generic; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Drawing; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Windows.Forms; | |
using System.Diagnostics; |
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
// Generated by CoffeeScript 1.10.0 | |
(function() { | |
var $, Range, Trie, | |
indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; | |
Trie = (function() { | |
function Trie() { | |
this.trie = {}; | |
} |
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
//2-kim | |
public void bubbleIterative(int arr[], int start, int end){ | |
int n = arr.length; | |
int k; | |
for(int m = n; m >= 0; m--){ | |
for(int i = 0; i < n-1; i++){ | |
k = i + 1; | |
if(arr[k] > arr[i]){ | |
swap(arr,k,i); |
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
# Create a new repository on the command line | |
touch README.md | |
git init | |
git add README.md | |
git commit -m "first commit" | |
git remote add origin https://github.com/c0ldlimit/vimcolors.git | |
git push -u origin master | |
# Push an existing repository from the command line |
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
curl "https://www.sajilni.com/cart-new/buy-tickets/5106/5757" -H "Cookie: _ga=GA1.2.1189611452.1511121150; sajilni_sendTicket=true; sajilni_sendEmailConfirmation=true; __utmz=164148285.1513687291.162.2.utmcsr=localhost:8081^|utmccn=(referral)^|utmcmd=referral^|utmcct=/cart-new/checkout/4399; countryCode=US; __utma=164148285.1189611452.1511121150.1514825209.1514880574.187; __utmc=164148285; JSESSIONID=CE52DE885E185E3E199E3B24AD45BD95; loginToken=3b8a9be496cf; AWSELB=75BB91F50A87D525582B9C772647912828620F06ED31BE5C746F0E113B3D337606B50160F5A554CF4F3404A4CAE176DB5147456F7406B79F05B428D321556BF1695B535D334976B6C09C23953065F2E7AA2C9BC047; buyTimer=60; buyTimerCreatedOn=Tue Jan 02 2018 11:13:15 GMT+0200 (Jordan Standard Time)" -H "Origin: https://www.sajilni.com" -H "Accept-Encoding: gzip, deflate, br" -H "Accept-Language: en-US,en;q=0.9" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36" -H "Content-Type: application/json" -H "Accept: |
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
mail template | |
IMPORTANT: | |
We will have to maintain, backward compatability | |
knowing that we may need to ammend | |
old ones , or re create them | |
Expected From editor: | |
That it shall, have like these operation here |
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
INSERT INTO security_3.html_template (pos, json, name, html, description, owner_id, template_name, default_template, wkhtml_options, lang, event_id, product_id) VALUES (0, '[{"position":{"x":0,"y":0},"orientation":"Landscape","angle":0,"pos":0,"isDefaultTmpl":1,"format":"","backgroundUrl":"","fillColor":"transparent","width":"175.006mm","height":"101.6mm","$type":"TicketLayout"},{"position":{"x":100,"y":100},"angle":0,"url":"//placehold.it/100x100","strokeWidth":"0","strokeColor":"#ffffff","width":"100","height":"100","text":"https://localhost:8443/chart/encode/code128.html?width={{width}}&height={{height}}&code=CODE_128","variable":"https://localhost:8443/chart/encode/code128.html?width={{width}}&height={{height}}&code=${orderItem.referenceNumber}","$type":"BarcodeVar"},{"position":{"x":193.92832946777344,"y":101},"angle":0,"url":"//placehold.it/100x100","strokeWidth":"0","strokeColor":"#ffffff","width":"100","height":"100","text":"https://localhost:8443/chart/encode/qrcode.html?width={{width}}&height={{heig |
NewerOlder