This was tested on:
- Ubuntu 14.04 x64
- Ubuntu 16.04 x64
| // ==UserScript== | |
| // @name GLM Coding Rush - 智谱编程助手抢购脚本 | |
| // @namespace https://gist.github.com/LessUp | |
| // @version 1.1.0 | |
| // @description 智谱 GLM Coding 一键抢购脚本 — 自动解锁售罄按钮 / 高速重试引擎 / bizId 双重校验 / 错误弹窗自动恢复 / 支付弹窗保护 / 秒级定时触发 / 可拖拽浮动面板 | |
| // @author LessUp | |
| // @match *://www.bigmodel.cn/* | |
| // @match https://bigmodel.cn/glm-coding* | |
| // @run-at document-start | |
| // @grant none |
| // | |
| // RecordAudioViewController.swift | |
| // Samples | |
| // | |
| // Created by VikasK on 11/02/19. | |
| // Copyright © 2019 Vikaskore Software. All rights reserved. | |
| // | |
| import UIKit | |
| import AVFoundation |
| server { | |
| listen 80; | |
| listen [::]:80; #Use this to enable IPv6 | |
| server_name www.example.com; | |
| root /var/www/prestashop17; | |
| access_log /var/log/nginx/access.log; | |
| error_log /var/log/nginx/error.log; | |
| index index.php index.html; |
Software engineering is the study and an application of engineering to the software development lifecycle, including requirements, design, architecture, development, testing, and maintenance. It is important that Universities teach students not only the theory underlying these phases, but also allow students to practice using real systems.
Quoting Arie van Deursen:
When teaching software engineering [architecture] it is hard to strike the right balance between practice (learning how to work with real systems and painful trade offs) and theory (general solutions that any architect needs to thoroughly understand).
To address this, inspired by TUDelft's Software Architecture course, we decided try something different in the Software Engineering course of the University of Porto's [Master in
| # install openjdk | |
| sudo apt-get install openjdk-7-jdk | |
| # download android sdk | |
| wget http://dl.google.com/android/android-sdk_r24.2-linux.tgz | |
| tar -xvf android-sdk_r24.2-linux.tgz | |
| cd android-sdk-linux/tools | |
| # install all sdk packages |
| <?php | |
| // Server file | |
| class PushNotifications { | |
| // (Android)API access key from Google API's Console. | |
| private static $API_ACCESS_KEY = 'AIzaSyDG3fYAj1uW7VB-wejaMJyJXiO5JagAsYI'; | |
| // (iOS) Private key's passphrase. | |
| private static $passphrase = 'joashp'; | |
| // (Windows Phone 8) The name of our push channel. | |
| private static $channelName = "joashp"; |
#Laravel 5 Simple ACL manager
Protect your routes with user roles. Simply add a 'role_id' to the User model, install the roles table and seed if you need some example roles to get going.
If the user has a 'Root' role, then they can perform any actions.
Simply copy the files across into the appropriate directories, and register the middleware in App\Http\Kernel.php
| ############################################# | |
| # Step-by step instructions for installing: # | |
| # # | |
| # - Macports # | |
| # - RVM & Ruby # | |
| # - NVM & Node # | |
| # # | |
| # DO NOT execute all steps at once # | |
| # Do each one manually & check the output # | |
| # # |
| #!/bin/sh | |
| ## | |
| ## Usage: ./ovpn-writer.sh SERVER CA_CERT CLIENT_CERT CLIENT_KEY SHARED_SECRET > client.ovpn | |
| ## | |
| server=${1?"The server address is required"} | |
| cacert=${2?"The path to the ca certificate file is required"} | |
| client_cert=${3?"The path to the client certificate file is required"} | |
| client_key=${4?"The path to the client private key file is required"} |