- no "Always on top mode"
- no decent snap mode by default (3rd party app required)
- unable to snap a window to the screen with the keyboard
- none available on install (homebrew or Macports required)
| #!/bin/bash | |
| # fix-eopkg - A simple way to fix broken Solus eopkg packages | |
| # Usage: ./fix-eopkg | |
| read -p "Enter the package name (e.g., kf6-kcoreaddons-6.15.0-23): " PACKAGE_NAME | |
| read -p "Enter the CDN URL (e.g., https://cdn.getsol.us/repo/shannon/k/kf6-kcoreaddons/kf6-kcoreaddons-6.15.0-2): " CDN | |
| FILENAME=$(basename $CDN) |
| System: | |
| OS: macOS High Sierra 10.13.6 | |
| CPU: (8) x64 Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz | |
| Memory: 1.56 GB / 16.00 GB | |
| Shell: 5.3 - /bin/zsh | |
| Binaries: | |
| Node: 8.11.1 - ~/.nvm/versions/node/v8.11.1/bin/node | |
| npm: 5.6.0 - ~/.nvm/versions/node/v8.11.1/bin/npm | |
| Utilities: | |
| CMake: 3.7.2 - /usr/local/bin/cmake |
| import * as React from 'react'; | |
| type Prop = { | |
| title: string, | |
| content: Array<string> | |
| }; | |
| const MyComponentContent = ({title, content}: Prop): React.Node => ( | |
| <> | |
| <h1>{title}</h1> |
| version: "2" | |
| services: | |
| composer: | |
| image: prooph/composer:7.1 | |
| container_name: test__composer | |
| volumes: | |
| - .:/app | |
| working_dir: /app |
| import merge from 'webpack-merge'; | |
| import baseConfig from './../webpack.config.babel.js'; | |
| import path from 'path'; | |
| const ROOT_PATH = path.resolve( | |
| path.join(__dirname, '/../') | |
| ); | |
| module.exports = merge(baseConfig, { |
| # to run: | |
| # ./react.go {path_to_server.php} ./dir_one ./dir_two ... | |
| package main | |
| import ( | |
| "log" | |
| "os" | |
| "os/exec" | |
| "fmt" |
| ## Pre-reqs | |
| sudo apt-get install -y apt-transport-https ca-certificates | |
| apt-key adv --keyserver hkp://p80.pool.sks-keyservers.net:80 --recv-keys 58118E89F3A912897C070ADBF76221572C52609D | |
| ## Create docker sources list file | |
| sudo touch /etc/apt/sources.list.d/docker.list | |
| sudo echo "deb https://apt.dockerproject.org/repo debian-jessie main" >> /etc/apt/sources.list.d/docker.list | |
| ## Update sources | |
| sudo apt-get update | |
| ## Install docker engine | |
| sudo apt-cache policy docker-engine |
| <?php | |
| class Newspaper implements \SplSubject{ | |
| private $name; | |
| private $observers = array(); | |
| private $content; | |
| public function __construct($name) { | |
| $this->name = $name; | |
| } |
| <?php | |
| require __DIR__.'/test.file.php'; | |
| $class = new ReflectionClass(Some\TheThing::class); | |
| //// | |
| // Better way to find if the class has strict_type enabled | |
| //// | |
| $tokens = token_get_all(file_get_contents(__DIR__.'/test.file.php')); |