A Pen by Steven Pastrana on CodePen.
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
| RewriteEngine On | |
| RewriteRule ^index\.html$ / [R=301,L] | |
| RewriteRule ^(.*)/index\.html$ /$1/ [R=301,L] |
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
| var albums = []; | |
| axios.get('https://jsonplaceholder.typicode.com/albums') | |
| .then(response =>{ | |
| this.albums = response.data | |
| }) | |
| .catch(error =>{ | |
| console.log(error); | |
| }) |
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
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1"> | |
| <title>TITLE</title> | |
| <meta name="author" content="name"> | |
| <meta name="description" content="description here"> | |
| <meta name="keywords" content="keywords,here"> |
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
| # simplearg.py | |
| import argparse | |
| # Create a parser object | |
| parser = argparse.ArgumentParser(description="this is optional") | |
| # add an argument using the parser object | |
| parser.add_argument("name", help="Greeting") | |
| # parse all arguments passed during the call |
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 argparse | |
| # The Fibonacci function | |
| def fib(n): | |
| a = 0 | |
| b = 1 | |
| for x in range(n): | |
| a = b | |
| b = a + b | |
| return a |
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
| source dnsenv/dnsenv/bin/activate | |
| cd app/ |
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
| html, body, div, span, applet, object, iframe, | |
| h1, h2, h3, h4, h5, h6, p, blockquote, pre, | |
| a, abbr, acronym, address, big, cite, code, | |
| del, dfn, em, img, ins, kbd, q, s, samp, | |
| small, strike, strong, sub, sup, tt, var, | |
| b, u, i, center, | |
| dl, dt, dd, ol, ul, li, | |
| fieldset, form, label, legend, | |
| table, caption, tbody, tfoot, thead, tr, th, td, | |
| article, aside, canvas, details, embed, |
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
| # Disable index view | |
| Options -Indexes | |
| # Hide a specific file | .env in this case # | |
| <Files .env> | |
| Order allow,deny | |
| Deny from all | |
| </Files> | |
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
| <div class="form-group{{ $errors->has('state') ? ' has-error' : '' }}"> | |
| <label for="state" class="col-md-4 control-label">State</label> | |
| <div class="col-md-6"> | |
| <select id="state" class="form-control" name="state" value="{{ Auth::user()->state }}" required autofocus> | |
| <ul class="dropdown-menu" aria-labelledby="state"> | |
| <!-- ********************** --> | |
| <!-- ** --> | |
| <!-- ** This is Sedi's work right here <3 --> |
OlderNewer