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
| *. { | |
| box-sizing: border-box; | |
| }. | |
| un { | |
| position:absolute; | |
| width:600px; | |
| height:300px; | |
| } | |
| .deux{ | |
| position : absolute; |
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
| Mail::send('email', | |
| array( | |
| 'name' => $request->get('name'), | |
| 'email' => $request->get('email'), | |
| 'user_message' => $request->get('message') | |
| ), function($message) | |
| { | |
| $message->from('[email protected]'); | |
| $message->to('[email protected]', 'Admin')->subject('Cloudways | |
| Feedback'); |
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
| screenshot() { | |
| /** | |
| * ! sauvegarde screenshot | |
| */ | |
| let vc = this | |
| return html2canvas(vc.showCaptureRef()).then(canvas => { | |
| document.getElementById('main') | |
| canvas.toBlob( blob => { | |
| // * enregistrement | |
| var fd = new FormData() |
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
| #!/bin/bash | |
| # Disable macOS Upgrade notifications | |
| # Step 1: prevent the update which brings the notification down | |
| softwareupdate --ignore macOSInstallerNotification_GM | |
| echo | |
| # Step 2: delete the file if it's already on the computer |
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
| /* This code has been generated from your interaction model | |
| /* eslint-disable func-names */ | |
| /* eslint quote-props: ["error", "consistent"]*/ | |
| // There are three sections, Text Strings, Skill Code, and Helper Function(s). | |
| // You can copy and paste the contents as the code for a new Lambda function, using the alexa-skill-kit-sdk-factskill template. | |
| // This code includes helper functions for compatibility with versions of the SDK prior to 1.0.9, which includes the dialog directives. | |
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 | |
| /** | |
| * API Request Caching | |
| * | |
| * Use server-side caching to store API request's as JSON at a set | |
| * interval, rather than each pageload. | |
| * | |
| * @arg Argument description and usage info | |
| */ |
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
| ###################### | |
| # Create The Cluster # | |
| ###################### | |
| # Make sure that your minishift version is v1.15 or higher | |
| minishift start \ | |
| --vm-driver virtualbox \ | |
| --cpus 2 \ | |
| --memory 2048 \ |
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
| cd k8s-specs | |
| # Only if minishift | |
| oc apply -f sa/jenkins-no-sa-oc.yml --record | |
| # Only if NOT minishift | |
| kubectl apply \ | |
| -f sa/jenkins-no-sa.yml \ | |
| --record |
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
| - https://github.com/spham/zuix-html-pwa |
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
| # Git aliases | |
| alias gs="git status" | |
| alias ga="git add" | |
| alias gaa="git add ." | |
| alias gc="git commit" | |
| alias gp="git push" | |
| alias gpl="git pull" | |
| alias gcm="git commit -m" | |
| alias gl="git log" |