THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| <?php | |
| # File: app\Http\Middleware\CORS.php | |
| # Create file with below code in above location. And at the end of the file there are other instructions also. | |
| # Please check. | |
| namespace App\Http\Middleware; | |
| use Closure; | |
| class CORS { |
| import java.util.Scanner; | |
| public class sdz { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int numberOfrows ; | |
| System.out.print("Enter the number of row and cols in the matrix : "); |
| import java.util.Scanner; | |
| public class sdz { | |
| public static void main(String[] args) { | |
| Scanner sc = new Scanner(System.in); | |
| int nbrTodiv, modDiv,tmp; | |
| String result =""; | |
| System.out.println("Entrez le nombre à convertir "); |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title>Search engine </title> | |
| <meta charset="utf-8"> | |
| </head> | |
| <body> | |
| <style> | |
| #search{ | |
| <!doctype html> | |
| <html> | |
| <head> | |
| <title> Upload-file</title> | |
| <meta charset="utf-8"> | |
| </head> | |
| <body> | |
| <form id="uploadForm" enctype="multipart/form-data" action="script.php" target="uploadFrame" method="post"> | |
| <label for="uploadFile">Image :</label> | |
| <input id="uploadFile" name="uploadFile" type="file" /> |
| #!/bin/bash | |
| ##################################################### | |
| # Name: Bash CheatSheet for Mac OSX | |
| # | |
| # A little overlook of the Bash basics | |
| # | |
| # Usage: | |
| # | |
| # Author: J. Le Coupanec | |
| # Date: 2014/11/04 |
THIS GIST WAS MOVED TO TERMSTANDARD/COLORS REPOSITORY.
PLEASE ASK YOUR QUESTIONS OR ADD ANY SUGGESTIONS AS A REPOSITORY ISSUES OR PULL REQUESTS INSTEAD!
| jQuery(function($) { | |
| $('form[data-async]').live('submit', function(event) { | |
| var $form = $(this); | |
| var $target = $($form.attr('data-target')); | |
| $.ajax({ | |
| type: $form.attr('method'), | |
| url: $form.attr('action'), | |
| data: $form.serialize(), |
Inspired by this article. Neat tricks for speeding up integer computations.
Note: cin.sync_with_stdio(false); disables synchronous IO and gives you a performance boost.
If used, you should only use cin for reading input
(don't use both cin and scanf when sync is disabled, for example)
or you will get unexpected results.
x = x << 1; // x = x * 2