This file contains 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
.StripeElement { | |
background-color: white; | |
height: 40px; | |
padding: 10px 12px; | |
border-radius: 4px; | |
border: 1px solid transparent; | |
box-shadow: 0 1px 3px 0 #e6ebf1; | |
-webkit-transition: box-shadow 150ms ease; | |
transition: box-shadow 150ms ease; | |
} |
This file contains 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
function makeid() { | |
var text = ""; | |
var possible = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | |
for (var i = 0; i < 5; i++) | |
text += possible.charAt(Math.floor(Math.random() * possible.length)); | |
return text; | |
} |
This file contains 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 | |
#This program automates creating a clean archive for public release of | |
#Laravel framework based application. For security, you will need to append .env-example to your final zip archive. | |
#For Windows with Ubuntu sub-system, create a .bat file called deploy.bat and append ./laravel-deploy.bash. | |
#Then you can click on the .bat to run deployment script. | |
# | |
# The format of the final filename is myfile-mm-dd-YYYY-v1.zip. "v1" increments to v2 and so forth in consequent runs. | |
# | |
#Target filename |
This file contains 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 | |
#File: zip.bash | |
#Author:John Muchiri | |
#Date: 10-Aug-2017 | |
# | |
#This program automates creating a clean archive for public release of | |
#Laravel framework based application. For security, you will need to append .env-example to your final zip archive. | |
#For Windows with Ubuntu sub-system, create a .bat file called deploy.bat and append ./laravel-deploy.bash. | |
#Then you can click on the .bat to run deployment script. | |
# |
This file contains 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
<style> | |
@media only screen and (min-width: 768px) { | |
.cd-multi-steps { | |
background-color: transparent; | |
padding: 0; | |
text-align: center; | |
} | |
.cd-multi-steps li { |
This file contains 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
<template> | |
<div> | |
<div class="row"> | |
<div class="col-sm-9"> | |
<button class="btn btn-success" v-on:click="dlImages()"> | |
<i class="fa fa-download"></i> | |
Download photos | |
</button> | |
<hr/> |
This file contains 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 if(!defined('BASEPATH')) { | |
exit('No direct script access allowed'); | |
} | |
//autoload this model | |
class My_config extends CI_Model | |
{ | |
public function __construct() | |
{ | |
$this->setLanguage(); |
This file contains 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
<iframe | |
src="your-url-here" | |
id="my_iframe" | |
style="width: 100%;" | |
border="0" | |
margin="0" padding="0" | |
frameborder="0" scrolling="no" ></iframe> |
This file contains 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 | |
sudo apt-get update | |
sudo apt-get install apache2 mysql-server php72-cli git | |
sudo service apache2 start | |
sudo service mysql start | |
sudo service php7.2-fpm start | |
#Mailhog -optional | |
git clone https://github.com/mailhog/MailHog.git mailhog |
This file contains 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
<div style="width:500px; margin:0 auto"> | |
<div class="alertbox alertbox-info"> | |
This is an information message | |
</div> | |
<div class="alertbox alertbox-success"> | |
We have successfully processed your request! | |
</div> | |
<div class="alertbox alertbox-warning"> |
OlderNewer