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
| ALTER TABLE articles | |
| ADD COLUMN `position` int(11) unsigned NOT NULL DEFAULT '0', | |
| ADD COLUMN `status` int(1) unsigned NOT NULL DEFAULT '1', | |
| ADD COLUMN `created_at` datetime NULL, | |
| ADD COLUMN `created_by` int(11) unsigned NOT NULL DEFAULT '0', | |
| ADD COLUMN `updated_at` datetime NULL, | |
| ADD COLUMN `updated_by` int(11) unsigned NOT NULL DEFAULT '0', | |
| ADD COLUMN `deleted` tinyint(1) NOT NULL DEFAULT '0', | |
| ADD COLUMN `deleted_at` datetime NULL, | |
| ADD COLUMN `deleted_by` int(11) unsigned NOT NULL DEFAULT '0' |
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
| $('input.number').val(function(index, value) { | |
| return value | |
| .replace(/\D/g, "") | |
| .replace(/\B(?=(\d{3})+(?!\d))/g, ",") | |
| ; | |
| }).keyup(function(event) { | |
| // skip for arrow keys | |
| if(event.which >= 37 && event.which <= 40) return; | |
| // format number | |
| $(this).val(function(index, value) { |
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
| @media print { | |
| .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { | |
| float: left; | |
| } | |
| .col-sm-12 { | |
| width: 100%; | |
| } | |
| .col-sm-11 { | |
| width: 91.66666667%; | |
| } |
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 /var/lib/dpkg/updates | |
| rm -r ./* | |
| ------------ | |
| rm -r -f /var/lib/dpkg/updates/* |
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
| { | |
| "Stateless Widget": { | |
| "prefix": "statelessW", | |
| "body": [ | |
| "class ${1:name} extends StatelessWidget {", | |
| " // const ${1:name}({Key key}) : super(key: key);\n", | |
| " @override", | |
| " Widget build(BuildContext context) {", | |
| " return Container();", | |
| " }", |
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>Multiple Sheets</title> | |
| <!-- Normalize or reset CSS with your favorite library --> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css"> |
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
| system\Router\Router.php | |
| Add $uri = rtrim($uri, '/'); | |
| Before $uri = urldecode($uri); // Line 141 |
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 'package:flutter/material.dart'; | |
| import 'package:get/get.dart'; | |
| void main() { | |
| runApp(GetMaterialApp( | |
| initialRoute: '/login', | |
| getPages: [ | |
| GetPage( | |
| name: '/login', | |
| page: () => LoginPage(), |
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
| use \PhpOffice\PhpSpreadsheet\Calculation\Calculation; | |
| Calculation::getInstance($spreadsheet)->disableCalculationCache(); | |
| Calculation::getInstance()->setCalculationCacheEnabled(FALSE); |