An introduction to curl using GitHub's API
Makes a basic GET request to the specifed URI
curl https://api.github.com/users/caspyin
//https://www.hackerrank.com/contests/w30/challenges/candy-replenishing-robot | |
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
#include <cstdlib> | |
using namespace std; | |
class Party{ |
#include <cmath> | |
#include <cstdio> | |
#include <vector> | |
#include <iostream> | |
#include <algorithm> | |
#include <cstdlib> | |
using namespace std; | |
string getExpression(int num) | |
{ | |
string expr; |
/* | |
Problem statement : https://www.hackerrank.com/contests/w30/challenges/melodious-password | |
Resources: Faster I/O operations- http://www.geeksforgeeks.org/fast-io-for-competitive-programming/ | |
Scanf return value warning- (line 21) | |
http://stackoverflow.com/questions/7271939/warning-ignoring-return-value-of-scanf-declared-with-attribute-warn-unused-r | |
*/ | |
#include <iostream> | |
#include <cstdlib> | |
#include <bits/stdc++.h> | |
#include <cstdio> |
D:\uzair>apm list | |
Built-in Atom Packages (90) | |
├── atom-dark-syntax@0.28.0 | |
├── atom-dark-ui@0.53.0 | |
├── atom-light-syntax@0.29.0 | |
├── atom-light-ui@0.46.0 | |
├── base16-tomorrow-dark-theme@1.5.0 | |
├── base16-tomorrow-light-theme@1.5.0 | |
├── one-dark-ui@1.10.3 | |
├── one-light-ui@1.10.3 |
/* | |
OVERVIEW: Given two strings, find the words that are common to both the strings. | |
E.g.: Input: "one two three", "two three five". Output: "two", "three". | |
INPUTS: Two strings. | |
OUTPUT: common words in two given strings, return 2D array of strings. | |
ERROR CASES: Return NULL for invalid inputs. |
import React, { Component } from 'react'; | |
import { Button } from 'semantic-ui-react'; | |
import { Modal } from 'react-bootstrap'; | |
import { connect } from 'react-redux'; | |
import { has } from 'lodash'; | |
import { | |
createUserInterests, | |
fetchUserInterests | |
} from '../../../../actions/userInterests'; |
async addAsset(asset) { | |
if (this.dedupe.has(asset.generated.js)) { | |
return; | |
} | |
// Don't dedupe when HMR is turned on since it messes with the asset ids | |
if (!this.options.hmr) { | |
this.dedupe.set(asset.generated.js, asset.id); | |
} |
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |