This file contains hidden or 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
| $ grep -Hirn "BeautifulSoup4" * | |
| $ grep -Hirn "describe" test/ | |
| test/unit/client/actions/indexTest.js:1:import { describe, it } from 'mocha'; | |
| test/unit/client/actions/indexTest.js:6:describe('actions', () => { | |
| test/unit/client/components/AppTest.js:1:import { describe, it, beforeEach } from 'mocha'; | |
| test/unit/client/components/AppTest.js:12:describe('App Component', () => { | |
| test/unit/client/containers/AppTest.jsx:1:import { describe, it } from 'mocha'; | |
| test/unit/client/containers/AppTest.jsx:13:describe('App Container', () => { | |
| test/unit/client/reducers/calcTest.js:1:import { describe, it } from 'mocha'; | |
| test/unit/client/reducers/calcTest.js:5:describe('calc Reducer', ()=>{ |
This file contains hidden or 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
| Skip to content | |
| This repository | |
| Search | |
| Pull requests | |
| Issues | |
| Marketplace | |
| Explore | |
| @prabaprakash | |
| Sign out | |
| Unwatch 1 |
This file contains hidden or 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.Linq; | |
| using System.Threading.Tasks; | |
| using GraphQL; | |
| using GraphQL.Http; | |
| using GraphQL.Types; | |
| using System.Data; | |
| namespace GraphQL_Example_DOT_NET | |
| { |
This file contains hidden or 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 Aspose.Words; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Reflection; | |
| using System.Threading.Tasks; | |
| namespace Aspose | |
| { |
This file contains hidden or 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
| /** | |
| /*Terminal*/ | |
| > ssh-keygen -t rsa -b 4096 -f jwtRS256.key | |
| # Don't add passphrase | |
| > openssl rsa -in jwtRS256.key -pubout -outform PEM -out jwtRS256.key.pub | |
| > cat jwtRS256.key | |
| > cat jwtRS256.key.pub | |
| /* Npm Installation */ | |
| npm install jsonwebtoken |
This file contains hidden or 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
| $ split -b 1024m file.tar.gz | |
| It can be reassembled on a Windows machine | |
| $ copy /b file1 + file2 + file3 + file4 filetogethe |
This file contains hidden or 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
| sudo ifdown eth0 && sudo ifup eth0 | |
| sudo rm /etc/resolv.conf | |
| sudo ln -s ../run/resolvconf/resolv.conf /etc/resolv.conf | |
| sudo resolvconf -u |
This file contains hidden or 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
| http://dominicm.com/install-utorrent-server-on-ubuntu-14-04/ | |
| utserver -settingspath /home/praba/Utorrent/.utserver/ -configfile /home/praba/Utorrent/.utserver/utserver.conf -logfile /home/praba/Utorrent/.utserver/utserver.log -pidfile /home/praba/Utorrent/.utserver/utserver.pid -daemo |
This file contains hidden or 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
| openssl genrsa -out /etc/ssl/private/test.key 2048 | |
| openssl req -new -key /etc/ssl/private/test.key -out /etc/ssl/private/test.csr | |
| openssl x509 -req -extensions v3_req -days 365 -in /etc/ssl/private/test.csr -signkey /etc/ssl/private/test.key -out /etc/ssl/certs/test.pem | |
| openssl req -text -noout -in /etc/ssl/private/test.csr | |
| root@jx:/etc/ssl/private# openssl req -text -noout -in /etc/ssl/private/test.csr | |
| Certificate Request: | |
| Data: | |
| Version: 0 (0x0) | |
| Subject: C=US, ST=California, L=La Jolla, O=grevi.ch, CN=grevi.ch/emailAddress=justin@grevi.ch |
This file contains hidden or 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
| /* Program for Bad Character Heuristic of Boyer Moore String Matching Algorithm */ | |
| # include <limits.h> | |
| # include <string.h> | |
| # include <stdio.h> | |
| # define NO_OF_CHARS 256 | |
| // A utility function to get maximum of two integers | |
| int max (int a, int b) { return (a > b)? a: b; } |