You can use this function to set an insecure password in your Unitymedia router's WiFi settings.
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
#include <iostream> | |
using namespace std; | |
string backwards(string input) { | |
string tmp = ""; | |
int length = (int) input.length(); | |
while(length-- > 0) { | |
tmp += input.at(length); |
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
#include <iostream> | |
using namespace std; | |
string backwards(string input) { | |
string tmp = ""; | |
int length = (int) input.length(); | |
while(length-- > 0) { | |
tmp += input.at(length); |
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
#include <iostream> | |
#include <fstream> | |
#include "functions.h" | |
using namespace std; | |
struct person { | |
string firstName = ""; | |
string lastName = ""; | |
string birthday = ""; |
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
// | |
// Created by Leo Bernard on 07/12/15. | |
// | |
#include "functions.h" | |
#include <iostream> | |
using namespace std; |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
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
fm_web: | |
image: nginx:alpine | |
ports: | |
- "8090:80" | |
volumes: | |
- $PWD:/code:ro | |
- ./docker/nginx-local.conf:/etc/nginx/conf.d/default.conf | |
links: | |
- fm_php |
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
<?php defined('BASEPATH') OR exit('No direct script access allowed'); | |
#set($name = ${NAME}) | |
#set($className = $name.replaceAll("[0-9]+_", "")) | |
class Migration_$className extends CI_Migration { | |
public function __construct() { | |
parent::__construct(); | |
\$this->load->dbforge(); |
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
import firebase from 'firebase-admin'; | |
import 'firebase-functions'; // Import to initialize FIREBASE_CONFIG 🙄 | |
import retry from 'promise-retry'; | |
// const config = JSON.parse(process.env.FIREBASE_CONFIG!); | |
// tslint:disable-next-line:no-var-requires | |
const serviceAccount = require('./service-account-2.json'); | |
firebase.initializeApp({ |
OlderNewer