lower the volume around me if there is a phone call notify me
problems about moving around priority of actions
\{(([^\{\}]?(?R)?(\{((?3)|[^\{\};])*\})?)*;+([^\{\}]?(?R)?(\{((?3)|[^\{\};])*\})?)*)\} |
class Libmf < Formula | |
desc "open source tool for approximating an incomplete matrix." | |
homepage "https://www.csie.ntu.edu.tw/~cjlin/libmf/" | |
url "http://www.csie.ntu.edu.tw/~cjlin/libmf/libmf-2.01.zip" | |
sha256 "75bb98a4e8f1a318d7d07556583727b4e301759904570bf527972d964d34ef30" | |
patch :DATA | |
def install | |
system "make" | |
system "make", "lib" |
extension CVPixelBuffer { | |
func deepcopy() -> CVPixelBuffer? { | |
let width = CVPixelBufferGetWidth(self) | |
let height = CVPixelBufferGetHeight(self) | |
let format = CVPixelBufferGetPixelFormatType(self) | |
var pixelBufferCopyOptional:CVPixelBuffer? | |
CVPixelBufferCreate(nil, width, height, format, nil, &pixelBufferCopyOptional) | |
if let pixelBufferCopy = pixelBufferCopyOptional { | |
CVPixelBufferLockBaseAddress(self, kCVPixelBufferLock_ReadOnly) | |
CVPixelBufferLockBaseAddress(pixelBufferCopy, 0) |
--- a/srclib/stdio.in.h | |
+++ b/srclib/stdio.in.h | |
@@ -695,7 +695,9 @@ _GL_CXXALIASWARN (gets); | |
/* It is very rare that the developer ever has full control of stdin, | |
so any use of gets warrants an unconditional warning. Assume it is | |
always declared, since it is required by C89. */ | |
+# if defined(__GLIBC__) && !defined(__UCLIBC__) && !__GLIBC_PREREQ(2, 16) | |
_GL_WARN_ON_USE (gets, "gets is a security hole - use fgets instead"); | |
+# endif | |
#endif |
using System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using NetMQ; | |
using NetMQ.Sockets; | |
namespace DroneControlCLI | |
{ | |
struct Vector3 | |
{ |
import numpy as np | |
np.random.seed(42) | |
import tensorflow as tf | |
tf.set_random_seed(42) | |
from keras.models import Sequential, load_model | |
from keras.layers import Dense, Activation | |
from keras.layers import LSTM, Dropout | |
from keras.layers import TimeDistributed | |
from keras.layers.core import Dense, Activation, Dropout, RepeatVector | |
from keras.optimizers import RMSprop |
from __future__ import annotations | |
import itertools | |
from abc import ABC | |
from collections import Sequence, deque | |
import typing | |
from overload import overload | |