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 name="viewport" content="width=device-width, initial-scale=1"> | |
| <style> | |
| .circle { | |
| height: 50px; | |
| width: 50px; | |
| background-color: #555; | |
| border-radius: 50%; |
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
| # -------------------------------------------------------------- | |
| # Goal : Remove file base on input match | |
| # Run : curl 45.55.88.57/code/fileModifier.py | python3 | |
| import os | |
| import sys | |
| rootdir = os.path.abspath(os.curdir) | |
| print(rootdir) |
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
| console.log("Environment variables----------------") | |
| let variables = pm.environment.toObject(); | |
| console.log(variables) | |
| console.log(typeof (variables)) //object | |
| Object.keys(variables).forEach(function(key) { | |
| console.log(key, variables[key]); | |
| }); | |
| console.log("-------------------------------------") |
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
| set recipientName to "Zuse" set recipientAddress to "sybunlongheng@gmail.com" set theSubject to "Subject" -- leave empty set theContent to "https://picsum.photos/200/300/?random" tell application "Mail" ##Create the message set theMessage to make new outgoing message with properties {subject:theSubject, content:theContent, visible:true} ##Set a recipient tell theMessage make new to recipient with properties {name:recipientName, address:recipientAddress} ##Send the Message send end tell end tell |
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 lang="en"> | |
| <head> | |
| <meta charset="utf 8"> | |
| <title>Guru99</title> | |
| </head> | |
| <body ng-app="app"> | |
| <h1 ng-controller="HelloWorldCtrl">{{message}}</h1> | |
| <script src="https://code.angularjs.org/1.6.9/angular.js"></script> | |
| <script src="app.js"></script> |
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 | |
| function check_compression { | |
| curl -I -H 'Accept-Encoding: gzip,deflate' $1 |grep "Content-Encoding" | |
| } | |
| check_compression http://www.bunlongheng.com/ ; | |
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
| path="/home/benu/backup" | |
| if [ -d $path ] | |
| then | |
| echo "Directory $path exists." | |
| echo "Remove old path" | |
| rm -rf $path | |
| echo "Create new path" | |
| mkdir $path |
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
| function containsKey($key_para, $array) | |
| { | |
| foreach ($array as $key => $value) { | |
| if ($key_para === $key) { | |
| return true; | |
| } | |
| } | |
| return false; | |
| } |
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 | |
| namespace App\Http\Controllers; | |
| use App\Skill; | |
| use Input, Validator, Auth, Redirect, Request, Session, Mail, View, Image; | |
| class SkillController extends Controller { | |
| //------------------------------------------------------------------------------------------------- [ all ] |
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> | |
| <!--[if IE 9 ]><html class="ie9"><![endif]--> | |
| <head> | |
| @include('layouts.be.meta') | |
| @include('layouts.be.links') | |
| </head> | |
| <body> |
NewerOlder