Attach the process to a gdb session.
sudo gdb $(rbenv which ruby) $(pgrep thin)
Enter this on the gdb
prompt.
set $ary = (int)backtrace(-1)
axios.interceptors.response.use( | |
(response) => response, | |
(error) => { | |
if (defaultAxios.isAxiosError(error)) { | |
throw new Error( | |
`Failed Request to ${error.config.url} with ${JSON.stringify( | |
error.config.data | |
)} with status ${error.response?.status} and data ${JSON.stringify( | |
error.response?.data |
ffmpeg -i input.mov -q:v 1 -q:a 1 output.wmv |
/* | |
* Complete the 'closestNumbers' function below. | |
* | |
* The function accepts INTEGER_ARRAY numbers as parameter. | |
*/ | |
const closestNumbers = (numbers) => { | |
let result = []; | |
let minimalDistance = Infinity; | |
numbers.sort((a, b) => a - b); |
import learning.business.superAnimals.ElasticHuman; | |
import learning.business.superAnimals.HomoSapiens; | |
import learning.business.superAnimals.Superman; | |
import learning.business.superAnimals.Invisible; | |
import learning.basicGUI.BaseAppGUI; | |
import learning.basicGUI.ImagePanel; | |
import learning.basicGUI.InternalButton; | |
import learning.basicGUI.FlowPanel; | |
import learning.basicGUI.GridPanel; | |
import java.awt.TextArea; |
<?php | |
$servername = "127.0.0.1"; | |
$username = "user"; | |
$password = "password"; | |
$dbname = "db"; | |
$conn = new mysqli($servername, $username, $password, $dbname); | |
if ($conn->connect_error) { |
FROM ruby:2.7.0-alpine | |
ENV PORT=80 | |
RUN apk add --no-cache \ | |
build-base \ | |
libxml2-dev \ | |
libxslt-dev \ | |
postgresql-dev \ | |
tzdata |
name: Github Pages Build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: |
package main | |
import ( | |
"fmt" | |
"golang.org/x/net/route" | |
) | |
var defaultRoute = [4]byte{0, 0, 0, 0} | |
func main() { |
Attach the process to a gdb session.
sudo gdb $(rbenv which ruby) $(pgrep thin)
Enter this on the gdb
prompt.
set $ary = (int)backtrace(-1)
all: | |
gcc main.c -o main -ltcejdb -std=c99 -Wall -fPIC -pedantic -O2 |