On trying to start mysql.server start
./usr/local/bin/mysql.server: line 264: kill: (12262) - No such process ERROR!
package main | |
import( | |
"log" | |
"net/url" | |
"net/http" | |
"net/http/httputil" | |
) | |
func main() { |
if let image = imageURL { | |
let url = URL(string: image) | |
URLSession.shared.dataTask(with: url!, completionHandler: { (data, response, error) in | |
if error != nil { | |
print(error!) | |
return | |
} | |
DispatchQueue.main.async { |
import AppKit | |
import ScriptingBridge | |
@objc public protocol SBObjectProtocol: NSObjectProtocol { | |
func get() -> Any! | |
} | |
@objc public protocol SBApplicationProtocol: SBObjectProtocol { | |
func activate() | |
var delegate: SBApplicationDelegate! { get set } |
defaults write com.apple.dock size-immutable -bool true; killall Dock |
// iOS 11.3 Safari / macOS Safari 11.1 empty <input type="file"> XHR bug workaround. | |
// This should work with every modern browser which supports ES5 (including IE9). | |
// https://stackoverflow.com/questions/49614091/safari-11-1-ajax-xhr-form-submission-fails-when-inputtype-file-is-empty | |
// https://github.com/rails/rails/issues/32440 | |
document.addEventListener('ajax:before', function(e) { | |
var inputs = e.target.querySelectorAll('input[type="file"]:not([disabled])') | |
inputs.forEach(function(input) { | |
if (input.files.length > 0) return | |
input.setAttribute('data-safari-temp-disabled', 'true') |
version: "3.9" | |
services: | |
jupyter: | |
image: quay.io/jupyter/scipy-notebook | |
ports: | |
- "8888:8888" | |
volumes: | |
- ./notebooks:/home/jovyan/ | |
environment: |
const defaultTheme = require('tailwindcss/defaultTheme'); | |
module.exports = { | |
purge: [ | |
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', | |
'./storage/framework/views/*.php', | |
'./resources/views/**/*.blade.php', | |
'./resources/js/**/*.vue', | |
], | |